diff --git a/main.go b/main.go index 2b486b4..ffd0a97 100644 --- a/main.go +++ b/main.go @@ -10,10 +10,11 @@ func main() { router := gin.Default() router.LoadHTMLGlob("./templates/*") + // Middleware + router.Static("static", "static") //e.Use(middleware.Logger()) //e.Use(middleware.Recover()) - //e.Use(middleware.Static("static")) router.GET("/login.html", login) a := router.Group("/api/v1")