shuishen
2021-07-14 a1a4f67c67e8b4fdf4baf49ca4531ae34b28d57a
vue.config.js
@@ -36,10 +36,11 @@
    proxy: {
      '/api': {
        //本地服务接口地址
        target: 'http://192.168.0.105:82/',
        //target: 'https://web.byisf.com/api/',
        // target: 'http://192.168.0.105:82/',
        target: 'http://s16s652780.51mypc.cn/api/',
        // target: 'https://web.byisf.com/api/',
        //远程演示服务地址,可用于直接启动项目
        //target: 'https://saber.bladex.vip/api',
        // target: 'https://saber.bladex.vip/api',
        ws: true,
        pathRewrite: {
          '^/api': '/'