mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Moved DISABLE_LOGIN check to getServerSideProps.
This commit is contained in:
parent
ab1e49e703
commit
68d35c0fc4
2 changed files with 8 additions and 5 deletions
|
|
@ -35,9 +35,6 @@ if (process.env.FORCE_SSL) {
|
|||
module.exports = {
|
||||
env: {
|
||||
currentVersion: pkg.version,
|
||||
loginDisabled: process.env.DISABLE_LOGIN,
|
||||
updatesDisabled: process.env.DISABLE_UPDATES,
|
||||
telemetryDisabled: process.env.DISABLE_TELEMETRY,
|
||||
},
|
||||
basePath: process.env.BASE_PATH,
|
||||
output: 'standalone',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue