mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: remove user wx_open_id key
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user