会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
herry菌·博客
💗博客园 ★☆博主:herry菌💗
💗2023💗前端实战派小码农
K歌
音乐
B站
搜索
首页
新随笔
管理
2023年3月21日
umijs服务器代理配置,多个代理
摘要: 同时代理api和资源: //服务器代理 proxy: { '/api': { target: 'http://xxx', changeOrigin: true, pathRewrite: { '^/api/': '/api/', }, }, //media资源代理 '/media': { targe
阅读全文
posted @ 2023-03-21 10:11 herry菌
阅读(644)
评论(0)
推荐(0)
编辑
公告