误操作原始文件

This commit is contained in:
lai
2024-06-26 14:47:10 +08:00
parent faefef7d2f
commit 52b61ec34a

View File

@@ -20,8 +20,8 @@ export default defineConfig(({ mode }) => {
proxy: { proxy: {
// 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.219:33040', // target: 'http://192.168.2.166:3030',
//target: 'http://192.168.5.58:33040', target: 'http://192.168.5.58:33040',
changeOrigin: true, changeOrigin: true,
rewrite: p => p.replace(env.VITE_API_BASE_URL, ''), rewrite: p => p.replace(env.VITE_API_BASE_URL, ''),
}, },
@@ -101,4 +101,4 @@ export default defineConfig(({ mode }) => {
}), }),
], ],
}; };
}); });