efe05342 by chentao

no message

1 parent 7fe9bb49
......@@ -28,18 +28,17 @@ export default defineConfig(({ mode, command }) => {
open: true,
forceHttps: false,
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api': {
// target: 'http://39.107.64.215:89',
// target: 'http://healthy.a1.luyouxia.net:21973/',
// target: 'http://gyongyi.a1.luyouxia.net:26588/',
// target: 'http://183.131.85.64::8082/',
// target: 'http://192.168.1.7:8082/',
target: 'http://localhost:8082/',
// target: 'http://gyongyi.a1.luyouxia.net:23074/',
changeOrigin: true,
secure: false,
rewrite: (p) => p.replace(/^\/dev-api/, '')
},
'/prod-api': {
target: 'http://localhost:8080/',
changeOrigin: true,
secure: false,
rewrite: (p) => p.replace(/^\/prod-api/, '')
}
}
},
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!