|
@@ -1,6 +1,6 @@
|
|
|
const path = require('path');
|
|
|
//测试
|
|
|
-const url = 'http://119.3.240.140:8866'
|
|
|
+const url = 'https://cfm.bytesail.cn'
|
|
|
|
|
|
const img = 'http://os.winfaster.cn'
|
|
|
|
|
@@ -16,7 +16,8 @@ module.exports = {
|
|
|
proxy: {
|
|
|
'/api': {
|
|
|
//本地服务接口地址
|
|
|
- target: 'http://36.134.91.96:10001/api',
|
|
|
+ //target: 'http://36.134.91.96:10001/api',
|
|
|
+ target: 'https://cfm.bytesail.cn/api',
|
|
|
//远程演示服务地址,可用于直接启动项目
|
|
|
//target: 'https://saber.bladex.vip/api',
|
|
|
ws: true,
|
|
@@ -28,7 +29,6 @@ module.exports = {
|
|
|
target: url, // 代理接口
|
|
|
changeOrigin: true, //是否跨域
|
|
|
ws: true, // proxy websockets
|
|
|
-
|
|
|
},
|
|
|
'/saas-business-tradeerp': { //代理api
|
|
|
target: url, // 代理接口
|