From 0f8282b68b9241cb5aa488c50642071c6aba0532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E9=A1=BA=E5=8F=91?= <416175716@qq.com> Date: Tue, 25 Apr 2017 10:34:19 +0800 Subject: [PATCH] absoulute path change to relative path in prod config file --- config/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/index.js b/config/index.js index 207dfbd..10d82d5 100644 --- a/config/index.js +++ b/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.