refactor: sync frontend

This commit is contained in:
email
2022-02-04 19:17:11 +08:00
parent 4535e0ce6d
commit 3fa918169e
34 changed files with 447 additions and 403 deletions

View File

@@ -8,11 +8,11 @@ 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,
},
"/r/": {
"/h/": {
target: "https://memos.justsven.top/",
changeOrigin: true,
},