2.2.1.RELEASE

dev
smallchill 6 years ago
parent b2b5db64c9
commit c90bfa8827
  1. 4
      vue.config.js

@ -29,8 +29,8 @@ module.exports = {
'/api': { '/api': {
//本地服务接口地址 //本地服务接口地址
// target: 'http://localhost', // target: 'http://localhost',
//远程演示服务地址 其实官方已经提供了 让vue项目跑起来的服务器连接,好多人不知道这个 //远程演示服务地址,可用于直接启动项目
target: 'https://saber.bladex.vip/api', target: 'https://saber.bladex.vip/api',
ws: true, ws: true,
pathRewrite: { pathRewrite: {
'^/api': '/' '^/api': '/'

Loading…
Cancel
Save