mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 14:47:14 +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
|
|
@ -7,9 +7,7 @@ export default async (req, res) => {
|
|||
trackerScriptName: process.env.TRACKER_SCRIPT_NAME,
|
||||
updatesDisabled: !!process.env.DISABLE_UPDATES,
|
||||
telemetryDisabled: !!process.env.DISABLE_TELEMETRY,
|
||||
loginDisabled: !!process.env.DISABLE_LOGIN,
|
||||
adminDisabled: !!process.env.DISABLE_ADMIN,
|
||||
uiDisabled: !!process.env.DISABLE_UI,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue