move templates to web dir

This commit is contained in:
2025-01-02 15:13:13 +01:00
parent 59222160af
commit 7798930145
5 changed files with 5 additions and 5 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("./static"))
fs := http.FileServer(http.Dir("web/static"))
http.Handle("GET /static/", http.StripPrefix("/", fs))
// start server