新币+dapp app 前端
dengchaochao
2024-05-09 9f1ef3b9af568fa57497675ac9796d180d3c4885
解决当出现编译错误或警告时,在浏览器中显示全屏覆盖。
2 files modified
7 ■■■■ changed files
src/config/index.js 2 ●●● patch | view | raw | blame | history
vue.config.js 5 ●●●● patch | view | raw | blame | history
src/config/index.js
@@ -1,6 +1,6 @@
export const TIME_OUT = 2000; // 请求频率
const ENV_DEV = "xinbi.jumpexs.com"; // dev
const ENV_DEV = "www.xinbi.cfd"; // dev
//const ENV_PRO = 'worldcoinpro.com' //  官网环境
// const ENV_PRO = 'thjddu.com' //  app域名
vue.config.js
@@ -37,11 +37,14 @@
    host: '0.0.0.0',
    https: false,
    open: true,
    client: {
      overlay: false,
    },
    proxy: {
      // 可为不同的接口配置不同的代理地址
      '/wap/api': {
        // 服务地址,即你要访问的服务器地址
        target: 'https://xinbi.jumpexs.com/wap/',
        target: 'https://www.xinbi.cfd/wap/',
        // 路径重写,将'/user/login'重写为'/login'
        pathRewrite: {
          '^/wap/api': ''