diff --git a/cmd/serverFunc.go b/cmd/serverFunc.go index 1a21a68..1909243 100644 --- a/cmd/serverFunc.go +++ b/cmd/serverFunc.go @@ -36,7 +36,9 @@ func server() { } r := gin.Default() LoadHTMLFromEmbedFS(r, templateFolder, "templates/*.html") - r.Static("/css", "./cmd/templates/css") + + //r.Static("/css", "./cmd/templates/css") + r.StaticFileFS("/css/style.css", "./templates/css/style.css", http.FS(templateFolder)) r.GET("/", returnIndex) r.GET("/cacert", returnCacert)