提交 7e2211eb authored 作者: 王鹏飞's avatar 王鹏飞

chore: 修改 API 代理目标为本地开发服务器

上级 910f91ff
...@@ -38,8 +38,8 @@ export default defineConfig(() => { ...@@ -38,8 +38,8 @@ export default defineConfig(() => {
// rewrite: (path) => path.replace(/^\/api\/wenku/, '/'), // rewrite: (path) => path.replace(/^\/api\/wenku/, '/'),
// }, // },
'/api': { '/api': {
target: 'https://zijingebook.ezijing.com', // target: 'https://zijingebook.ezijing.com',
// target: 'http://localhost:7419', target: 'http://localhost:7419',
changeOrigin: true, changeOrigin: true,
secure: false, secure: false,
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论