feat: remove user wx_open_id key

This commit is contained in:
steven
2021-12-12 21:49:46 +08:00
parent 1edf40ef69
commit 50c8947ad5
15 changed files with 55 additions and 221 deletions

View File

@ -18,12 +18,12 @@ func main() {
api.RegisterMemoRoutes(r)
api.RegisterQueryRoutes(r)
spa := api.SPAHandler{
webServe := api.SPAHandler{
StaticPath: "./web/dist",
IndexPath: "index.html",
}
r.PathPrefix("/").Handler(spa)
r.PathPrefix("/").Handler(webServe)
http.ListenAndServe(":8080", r)
}