html-bypass/web/index.go

14 lines
195 B
Go
Raw Permalink Normal View History

2023-09-13 15:12:44 +02:00
package web
import (
"github.com/gin-gonic/gin"
"net/http"
)
func Index(c *gin.Context) {
content := gin.H{
"title": "HTML Smuggling",
}
c.HTML(http.StatusOK, "index.gohtml", content)
}