mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 18:00:17 +01:00
Add environment variable for basePath.
This commit is contained in:
parent
7e29aee798
commit
e2a6bf9f94
@ -6,6 +6,7 @@ module.exports = {
|
||||
VERSION: pkg.version,
|
||||
FORCE_SSL: !!process.env.FORCE_SSL,
|
||||
},
|
||||
basePath: process.env.BASE_PATH,
|
||||
webpack(config) {
|
||||
config.module.rules.push({
|
||||
test: /\.svg$/,
|
||||
@ -28,6 +29,6 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
];
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user