Commit 333bfea4 by 冒粤蓉

fix

1 parent c8a01090
...@@ -15,7 +15,7 @@ const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPl ...@@ -15,7 +15,7 @@ const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPl
//localhost:10500 //localhost:10500
const IS_DEV_MODE = process.env.NODE_ENV !== 'production' const IS_DEV_MODE = process.env.NODE_ENV !== 'production'
const getPublicPath = IS_DEV_MODE ? '' : './'; const getPublicPath = IS_DEV_MODE ? '' : './';
const resourcesPath = IS_DEV_MODE ? `//localhost:${port}` : 'http://e-shield-old.frontend.test.glsx.com.cn/'; const resourcesPath = IS_DEV_MODE ? `//localhost:${port}` : 'https://e-shield-old.glsx.com.cn';
module.exports = { module.exports = {
mode: IS_DEV_MODE ? 'development':'production', mode: IS_DEV_MODE ? 'development':'production',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!