提交 e9a4890d 编写于 作者: F fengyw

优化配置

上级 9634b96d
......@@ -41,7 +41,7 @@ export default defineConfig({
port: 9528, // 服务端口
proxy: { // 代理
'/gateway': {
target: 'https://eduos.roncoo.net/gateway/',
target: 'http://localhost:8180',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/gateway/, '')
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册