瀏覽代碼

打包静态资源路径改为相对路径

macro 5 年之前
父節點
當前提交
e0930ab8a0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      config/index.js

+ 1 - 1
config/index.js

@@ -43,7 +43,7 @@ module.exports = {
     // Paths
     assetsRoot: path.resolve(__dirname, '../dist'),
     assetsSubDirectory: 'static',
-    assetsPublicPath: '/',
+    assetsPublicPath: './',
 
     /**
      * Source Maps