|
@@ -59,7 +59,7 @@ module.exports = {
|
|
assetsRoot: !isPreProduction ? path.resolve(__dirname, '../eta_front') : path.resolve(__dirname, '../eta_front'),
|
|
assetsRoot: !isPreProduction ? path.resolve(__dirname, '../eta_front') : path.resolve(__dirname, '../eta_front'),
|
|
assetsSubDirectory: 'static',
|
|
assetsSubDirectory: 'static',
|
|
// assetsPublicPath: '/vue-admin/',
|
|
// assetsPublicPath: '/vue-admin/',
|
|
- assetsPublicPath: './',
|
|
|
|
|
|
+ assetsPublicPath: process.env.VUE_APP_BASE_URL,
|
|
productionSourceMap: false,
|
|
productionSourceMap: false,
|
|
// Gzip off by default as many popular static hosts such as
|
|
// Gzip off by default as many popular static hosts such as
|
|
// Surge or Netlify already gzip all static assets for you.
|
|
// Surge or Netlify already gzip all static assets for you.
|