remove assets dir

This commit is contained in:
maddalax 2024-11-21 07:51:49 -06:00
parent baf5292212
commit e0bb30b976
2 changed files with 1 additions and 1 deletions

View file

@ -8,7 +8,7 @@ import (
func main() {
router := chi.NewRouter()
fileServer := http.StripPrefix("/public", http.FileServer(http.Dir("./assets/public")))
fileServer := http.StripPrefix("/public", http.FileServer(http.Dir("./public")))
router.Handle("/public/*", fileServer)
router.Get("/", func(writer http.ResponseWriter, request *http.Request) {