Export custom static folder

This commit is contained in:
naiba
2023-11-29 17:13:45 +08:00
parent a823da1f29
commit ad99a5d032
4 changed files with 4 additions and 4 deletions

View File

@@ -43,6 +43,7 @@ func ServeWeb(port uint) *http.Server {
panic(err)
}
r.StaticFS("/static", http.FS(staticFs))
r.Static("/static-custom", "resource/static/custom")
routers(r)
page404 := func(c *gin.Context) {