depoly mode update

This commit is contained in:
mubai
2024-04-21 22:35:57 +08:00
parent fc60f4a538
commit 625cd9e931
4 changed files with 18 additions and 8 deletions

View File

@@ -12,7 +12,8 @@ export default defineConfig({
port: 3600,
proxy: {
"/api": {
target: `http://127.0.0.1:3601`,
// target: `http://127.0.0.1:3601`,
target: `http://1.94.30.26:3601`,
changeOrigin: true, // 允许跨域
rewrite: path => path.replace(/^\/api/, '')
}