fix: ๐Ÿ› assets with base path

This commit is contained in:
Anthony Potdevin 2020-08-12 09:12:58 +02:00
parent 1fb674bcd3
commit e1bced2c7b
No known key found for this signature in database
GPG key ID: 4403F1DFBE779457

View file

@ -5,6 +5,7 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
module.exports = withBundleAnalyzer({
poweredByHeader: false,
assetPrefix: process.env.BASE_PATH || '',
serverRuntimeConfig: {
nodeEnv: process.env.NODE_ENV || 'development',
logLevel: process.env.LOG_LEVEL || 'info',