完成这个地址替换

This commit is contained in:
super
2026-05-29 19:35:55 +08:00
parent e9b98908bb
commit eb7aa89f8b
9 changed files with 53 additions and 19 deletions
+1 -1
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/, ''),
},