fix: 开发环境地址229:3186
This commit is contained in:
@@ -20,8 +20,8 @@ export default defineConfig(({ mode }) => {
|
||||
proxy: {
|
||||
// https://cn.vitejs.dev/config/#server-proxy
|
||||
[env.VITE_API_BASE_URL]: {
|
||||
// target: 'http://192.168.0.222:3186/api/rest',
|
||||
target: 'http://192.168.30.54:3040/api/rest',
|
||||
target: 'http://192.168.0.229:3186/api/rest',
|
||||
// target: 'http://192.168.30.3:3040/api/rest',
|
||||
changeOrigin: true,
|
||||
rewrite: p => p.replace(/^\/dev-api/, ''),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user