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

.

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