Fixed serveStatic
This commit is contained in:
@@ -12,5 +12,5 @@ var staticFS embed.FS
|
|||||||
|
|
||||||
func InitHttpHandlers() {
|
func InitHttpHandlers() {
|
||||||
fs := http.FileServerFS(staticFS)
|
fs := http.FileServerFS(staticFS)
|
||||||
http.Handle("/static/", http.StripPrefix("/static", fs))
|
http.Handle("/static/", fs)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user