feat: 修改接口

This commit is contained in:
huanghao1412 2023-12-26 21:41:13 +08:00
parent d2c8ed1c20
commit eeba58e49c

View File

@ -60,7 +60,15 @@ export default ({ mode }) => defineConfig({
changeOrigin: true,
ws: true,
secure: true,
}
},
'/svgConfig': {
// @ts-ignore
target: loadEnv(mode, process.cwd()).VITE_DEV_PATH,
changeOrigin: true,
rewrite: () => '',
ws: true,
secure: true,
},
}
},
plugins: [