|
@@ -31,7 +31,8 @@ export default defineConfig(({ mode, command }) => {
|
|
|
proxy: {
|
|
|
// https://cn.vitejs.dev/config/#server-proxy
|
|
|
"/dev-api": {
|
|
|
- target: "http://172.16.8.42:8080",
|
|
|
+ // target: "http://172.16.8.42:8080",
|
|
|
+ target: "http://172.16.10.187:8090",
|
|
|
changeOrigin: true,
|
|
|
rewrite: (p) => p.replace(/^\/dev-api/, ""),
|
|
|
},
|