diff --git a/src/main.go b/src/main.go index 0db0a66..9ee2e54 100644 --- a/src/main.go +++ b/src/main.go @@ -32,7 +32,10 @@ func main() { router := gin.Default() router.MaxMultipartMemory = 10 << 30 router.LoadHTMLGlob("templates/*") - router.StaticFS("/static", gin.Dir("./static", false)) + var staticPath = gin.Dir("./static", false) + fmt.Printf("Static path: %v\n", staticPath) + + router.StaticFS("/static", staticPath) // Public Routes router.GET("/", func(c *gin.Context) { c.HTML(200, "index.html", nil) }) diff --git a/templates/index.html b/templates/index.html index 38a9ffd..d489768 100644 --- a/templates/index.html +++ b/templates/index.html @@ -126,8 +126,9 @@