Przeglądaj źródła

Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc.git

konghl 4 lat temu
rodzic
commit
1b874c91fb
1 zmienionych plików z 15 dodań i 4 usunięć
  1. 15 4
      ebc-middle-platform/.aid/aid.js

+ 15 - 4
ebc-middle-platform/.aid/aid.js

@ -51,11 +51,22 @@ module.exports = {
51 51
  beforeBuild(config) {
52 52
    let result = rules(config)
53 53
    result.output = {
54
      publicPath: '/energy/'
54
      publicPath: '/'
55 55
    }
56 56
    return result
57 57
  },
58
  imagePrefix: '/energy/',
59
  staticPrefix: '/energy/',
60
  outputPrefix: '/energy/' // 构建后index.html中资源路径的前缀
58
  outputPrefix: '/' // 构建后index.html中资源路径的前缀
59
  // ,
60
  // proxy: [
61
  //   {
62
  //     url: '/ipu',
63
  //     options: {
64
  //       target: 'http://127.0.0.1:8086',
65
  //       changeOrigin: true,
66
  //       pathRewrite: {
67
  //         '^/ipu': '/'
68
  //       }
69
  //     }
70
  //   },
71
  // ]
61 72
}