fix...
This commit is contained in:
@@ -21,7 +21,7 @@ export default defineConfig(({ mode }) => {
|
|||||||
// https://cn.vitejs.dev/config/#server-proxy
|
// https://cn.vitejs.dev/config/#server-proxy
|
||||||
[env.VITE_API_BASE_URL]: {
|
[env.VITE_API_BASE_URL]: {
|
||||||
// target: 'http://192.168.2.166:33030',
|
// target: 'http://192.168.2.166:33030',
|
||||||
target: 'http://192.168.5.58:33040',
|
target: 'http://192.168.2.223:43030',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: p => p.replace(env.VITE_API_BASE_URL, ''),
|
rewrite: p => p.replace(env.VITE_API_BASE_URL, ''),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user