Selaa lähdekoodia

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

macro 5 vuotta sitten
vanhempi
commit
e0930ab8a0
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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