Ability to define auth timeout (#82)

This commit is contained in:
Simon J
2021-12-02 14:24:44 +11:00
committed by GitHub
parent d1300b8119
commit 8a0140b728
4 changed files with 15 additions and 2 deletions

View File

@@ -63,6 +63,7 @@ export default function () {
port,
bonobUrl: url(bonobUrl),
secret: bnbEnvVar("SECRET", { default: "bonob" })!,
authTimeout: bnbEnvVar("AUTH_TIMEOUT", { default: "1h" })!,
icons: {
foregroundColor: bnbEnvVar("ICON_FOREGROUND_COLOR", {
validationPattern: COLOR,