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