|
@@ -37,10 +37,10 @@ export default defineConfig(({ mode, command }) => {
|
|
|
},
|
|
|
// https://cn.vitejs.dev/config/#server-proxy
|
|
|
'/dev-api': {
|
|
|
- // target: 'http://192.168.100.139:9527',
|
|
|
+ target: 'http://192.168.100.139:9527',
|
|
|
// target: 'https://zybooks.tech/prod-api',
|
|
|
// target: 'http://192.168.100.128:9527',
|
|
|
- target: 'https://goldshulin.com/prod-api',
|
|
|
+ // target: 'https://goldshulin.com/prod-api',
|
|
|
changeOrigin: true,
|
|
|
rewrite: (p) => p.replace(/^\/dev-api/, '')
|
|
|
},
|