diff options
author | 2020-12-16 23:27:12 +0000 | |
---|---|---|
committer | 2020-12-16 23:27:12 +0000 | |
commit | 123d7f0a04fe1f3a2abdf61b435e95ccfa83e9f3 (patch) | |
tree | 12a902d308ab82771330828222801c9a47395b13 /backend/constants.py | |
parent | Document index route (diff) |
Add optional production password for docs
Diffstat (limited to 'backend/constants.py')
-rw-r--r-- | backend/constants.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/constants.py b/backend/constants.py index fdf7092..4218bff 100644 --- a/backend/constants.py +++ b/backend/constants.py @@ -16,6 +16,8 @@ OAUTH2_REDIRECT_URI = os.getenv( "https://forms.pythondiscord.com/callback" ) +DOCS_PASSWORD = os.getenv("DOCS_PASSWORD") + SECRET_KEY = os.getenv("SECRET_KEY", binascii.hexlify(os.urandom(30)).decode()) HCAPTCHA_API_SECRET = os.getenv("HCAPTCHA_API_SECRET") |