zerp 2 gadi atpakaļ
vecāks
revīzija
22355c5a19
2 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 3 3
      config/index.js
  2. 1 1
      config/prod.env.js

+ 3 - 3
config/index.js

@@ -7,11 +7,11 @@ module.exports = {
 
     dev: {
         assetsSubDirectory: 'static',
-        assetsPublicPath: '/',
+        assetsPublicPath: '/bid',
         proxyTable: {
             '/': {
                 // target: 'http://43.136.176.26:7001', //后端接口地址     中间人运营平台
-                target: 'http://127.0.0.1:7001', //后端接口地址   
+                target: 'http://127.0.0.1:28080', //后端接口地址   
                 changeOrigin: true, //是否跨域
                 pathRewrite: {
                     '^/': '/', //重写,
@@ -38,7 +38,7 @@ module.exports = {
         index: path.resolve(__dirname, '../dist/index.html'),
         assetsRoot: path.resolve(__dirname, '../dist'),
         assetsSubDirectory: 'static',
-        assetsPublicPath: '/',
+        assetsPublicPath: '/bid/',
 
         productionSourceMap: false,
         devtool: 'source-map',

+ 1 - 1
config/prod.env.js

@@ -1,5 +1,5 @@
 module.exports = {
   NODE_ENV: '"production"',
   ENV_CONFIG: '"prod"',
-  BASE_API: '"/"'
+  BASE_API: '"/pre"'
 }