fix cdn host

This commit is contained in:
zema1 2018-01-06 22:34:59 +08:00
parent f2cfe21f6d
commit 3d332a41ec
1 changed files with 1 additions and 1 deletions

View File

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