mirror of
https://github.com/chillzhuang/Saber.git
synced 2024-11-24 19:39:28 +08:00
🎉 反代接口默认为服务器接口地址,方便不熟悉后端的小伙伴学习
This commit is contained in:
parent
0e5378fb1e
commit
084479328b
@ -25,7 +25,8 @@ module.exports = {
|
||||
// 反向代理配置
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost',
|
||||
//target: 'http://localhost',
|
||||
target: 'https://saber.bladex.vip/api',
|
||||
ws: true,
|
||||
pathRewrite: {
|
||||
'^/api': '/'
|
||||
|
Loading…
Reference in New Issue
Block a user