提交 dd723394 编写于 作者: zhangzhiwei's avatar zhangzhiwei

.

上级 57d6c85f
...@@ -12,6 +12,11 @@ export default defineConfig({ ...@@ -12,6 +12,11 @@ export default defineConfig({
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/pre/, '') rewrite: (path) => path.replace(/^\/pre/, '')
}, },
'^/api': {
target: 'https://wxapplets-jyx.edstao.com',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/pre/, '')
},
'^/prod': { '^/prod': {
target: 'https://etaoh5.edstao.com/', target: 'https://etaoh5.edstao.com/',
changeOrigin: true, changeOrigin: true,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册