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

File diff suppressed because one or more lines are too long

View file

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