rename web dir to assets

This commit is contained in:
2025-01-02 15:48:55 +01:00
parent 7ca4016294
commit f80889ff95
6 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ func main() {
http.HandleFunc("POST /up/search", routes.UpSearch)
// serve files from the "static" directory
fs := http.FileServer(http.Dir("web/static"))
fs := http.FileServer(http.Dir("assets/static"))
http.Handle("GET /static/", http.StripPrefix("/", fs))
// start server