|
@@ -31,9 +31,9 @@ export default defineConfig(({ mode, command }) => {
|
|
|
proxy: {
|
|
|
// https://cn.vitejs.dev/config/#server-proxy
|
|
|
'/dev-api': {
|
|
|
- // target: 'http://testclient.cloud.airsmartser.com/admin',
|
|
|
+ target: 'http://testclient.cloud.airsmartser.com/admin',
|
|
|
// target: 'http://192.168.198.255:2130', // 付
|
|
|
- target: 'http://192.168.0.174:2130', // 陈
|
|
|
+ // target: 'http://192.168.0.174:2130', // 陈
|
|
|
changeOrigin: true,
|
|
|
rewrite: (p) => p.replace(/^\/dev-api/, '')
|
|
|
}
|