Moved DISABLE_LOGIN check to getServerSideProps.
This commit is contained in:
1 parent
ab1e49e703
commit
68d35c0fc4
2 files changed
+8
-5
No files matched your search
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user