upgrade from go-pg to bun

This commit is contained in:
dhax 2024-08-31 18:57:54 +02:00
parent f59f129354
commit 1886be62bc
23 changed files with 415 additions and 385 deletions

View file

@ -82,8 +82,7 @@ func New(enableCORS bool) (*chi.Mux, error) {
w.Write([]byte("pong"))
})
client := "./public"
r.Get("/*", SPAHandler(client))
r.Get("/*", SPAHandler("public"))
return r, nil
}