完成这个地址替换

This commit is contained in:
super
2026-05-29 19:35:55 +08:00
parent 225d13fb6e
commit 266c0f17c1
10 changed files with 7871 additions and 19 deletions

View File

@@ -30,7 +30,7 @@ export default defineConfig({
port: 5173,
proxy: {
'/newApi/api': {
target: 'http://127.0.0.1:18080',
target: 'http://api.aishufu.top:18080/',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/newApi/, ''),
},