upgrade from go-pg to bun
This commit is contained in:
parent
f59f129354
commit
1886be62bc
23 changed files with 415 additions and 385 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue