误操作原始文件
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.2.219:33040',
|
||||
//target: 'http://192.168.5.58:33040',
|
||||
// target: 'http://192.168.2.166:3030',
|
||||
target: 'http://192.168.5.58:33040',
|
||||
changeOrigin: true,
|
||||
rewrite: p => p.replace(env.VITE_API_BASE_URL, ''),
|
||||
},
|
||||
@@ -101,4 +101,4 @@ export default defineConfig(({ mode }) => {
|
||||
}),
|
||||
],
|
||||
};
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user