Moved DISABLE_LOGIN check to getServerSideProps.

This commit is contained in:
Mike Cao committed 2022-08-01 18:42:07 -07:00
1 parent ab1e49e703
commit 68d35c0fc4
2 files changed
+8 -5

No files matched your search

-3
View File
@@ -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',