Browse Source

Modify config file

lin-xin 9 years ago
parent
commit
2dd56af8aa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      config/index.js

+ 2 - 2
config/index.js

@@ -7,8 +7,8 @@ module.exports = {
         index: path.resolve(__dirname, '../dist/index.html'),
         assetsRoot: path.resolve(__dirname, '../dist'),
         assetsSubDirectory: 'static',
-        assetsPublicPath: '/',
-        productionSourceMap: true,
+        assetsPublicPath: './',
+        productionSourceMap: false,
         // Gzip off by default as many popular static hosts such as
         // Surge or Netlify already gzip all static assets for you.
         // Before setting to `true`, make sure to: