web: update restful api

This commit is contained in:
steven
2021-12-09 21:45:48 +08:00
parent b8c01524c5
commit bdaeb3a68b
14 changed files with 75 additions and 178 deletions

View File

@@ -8,8 +8,8 @@ export default defineConfig({
cors: true,
proxy: {
"/api": {
// target: "http://localhost:8080/",
target: "https://memos.justsven.top/",
target: "http://localhost:8080/",
// target: "https://memos.justsven.top/",
changeOrigin: true,
},
},