diff --git a/main.go b/main.go index f69582d..7c75f77 100644 --- a/main.go +++ b/main.go @@ -52,7 +52,7 @@ func main() { server.Use(gin.Recovery()) server.Use(gin.Logger()) - server.Static("/static", "./static") + server.Static("/static", os.Getenv("STATIC")) server.LoadHTMLGlob("views/*.html") apiRoutes := server.Group("/api")