浏览代码

修改编译脚本

郑国榕 8 年之前
父节点
当前提交
042e440477
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      webapp/config/index.js

+ 1 - 1
webapp/config/index.js

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