|
@@ -28,9 +28,9 @@ module.exports = {
|
|
|
proxy: {
|
|
proxy: {
|
|
|
'/api': {
|
|
'/api': {
|
|
|
//本地服务接口地址
|
|
//本地服务接口地址
|
|
|
- // target: 'http://localhost',
|
|
|
|
|
|
|
+ target: 'http://localhost',
|
|
|
//远程演示服务地址,可用于直接启动项目
|
|
//远程演示服务地址,可用于直接启动项目
|
|
|
- target: 'https://saber.bladex.vip/api',
|
|
|
|
|
|
|
+ //target: 'https://saber.bladex.vip/api',
|
|
|
ws: true,
|
|
ws: true,
|
|
|
pathRewrite: {
|
|
pathRewrite: {
|
|
|
'^/api': '/'
|
|
'^/api': '/'
|