|
|
@@ -27,14 +27,19 @@ module.exports = {
|
|
|
proxy: {
|
|
|
'/api': {
|
|
|
//本地服务接口地址
|
|
|
- // target: 'http://h6a5d694.natappfree.cc',
|
|
|
- target: 'http://g4588a96.natappfree.cc',
|
|
|
- //远程演示服务地址,可用于直接启动项目
|
|
|
- // target: 'https://saber.bladex.cn/api',
|
|
|
+ target: 'http://localhost:8000',
|
|
|
ws: true,
|
|
|
pathRewrite: {
|
|
|
'^/api': '/'
|
|
|
}
|
|
|
+ },
|
|
|
+ '/oss': {
|
|
|
+ //本地服务接口地址
|
|
|
+ target: 'http://116.62.106.199:9000',
|
|
|
+ ws: true,
|
|
|
+ pathRewrite: {
|
|
|
+ '^/oss': '/'
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
},
|