Commit fff4f329 by xinla

--no commit message

1 parent 0902ef8a
......@@ -59,7 +59,7 @@ export default defineConfig(async ({ command, mode }) => {
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
'/api': {
target: env.DOMAIN,
target: env.BASE_API,
changeOrigin: true,
rewrite: (p) => p.replace(/^\/api/, ''),
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!