mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Define uiDisabled at build time.
This commit is contained in:
parent
fc9584eb44
commit
98835bbc78
3 changed files with 2 additions and 5 deletions
|
|
@ -36,6 +36,7 @@ module.exports = {
|
|||
env: {
|
||||
currentVersion: pkg.version,
|
||||
isProduction: process.env.NODE_ENV === 'production',
|
||||
uiDisabled: !!process.env.DISABLE_UI,
|
||||
},
|
||||
basePath: process.env.BASE_PATH,
|
||||
output: 'standalone',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue