change config

This commit is contained in:
Pan
2017-04-23 22:43:05 +08:00
parent a7b09a2a01
commit e0695d422a
8 changed files with 37 additions and 39 deletions

View File

@@ -8,8 +8,8 @@ module.exports = {
index: path.resolve(__dirname, '../dist/index.html'),
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: '',
assetsPublicPath: '/',
staticPath:'',
assetsPublicPath: './',
staticPath:'./',
productionSourceMap: true,
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
@@ -28,8 +28,8 @@ module.exports = {
port: 9527,
autoOpenBrowser: true,
assetsSubDirectory: 'static',
staticPath:'/static',
assetsPublicPath: '/',
staticPath:'/static/',
proxyTable: {},
// CSS Sourcemaps off by default because relative paths are "buggy"
// with this option, according to the CSS-Loader README

View File

@@ -1,5 +1,5 @@
module.exports = {
NODE_ENV: '"production"',
BASE_API: '"https://api-prod',
BASE_API: '"https://api-prod"',
APP_ORIGIN: '"https://wallstreetcn.com"'
};