diff --git a/routes.go b/routes.go index 782f392..8f60522 100644 --- a/routes.go +++ b/routes.go @@ -1,6 +1,7 @@ package main import ( + "fmt" "html/template" "io/ioutil" "net/http" @@ -58,6 +59,7 @@ func everythingElse(c *gin.Context) { func serveStaticFile(c *gin.Context, option string) { staticFile, err := ioutil.ReadFile(path.Join(RuntimeArgs.SourcePath, "static") + option) + fmt.Println(path.Join(RuntimeArgs.SourcePath, "static")) if err != nil { c.AbortWithStatus(404) } else {