bc4d3fce by chentao

no message

1 parent 10f2f345
......@@ -29,6 +29,13 @@ export default defineConfig(({ mode, command }) => {
forceHttps: false,
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api': {
target: 'http://localhost:8082/',
// target: 'http://470k2111t0.zicp.vip/',
changeOrigin: true,
secure: false,
rewrite: (p) => p.replace(/^\/dev-api/, '')
},
'/prod-api': {
target: 'http://localhost:8082/',
// target: 'http://470k2111t0.zicp.vip/',
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!