diff options
author | 2020-12-17 09:30:48 +0200 | |
---|---|---|
committer | 2020-12-17 09:30:48 +0200 | |
commit | 3d4038b4d96fddaec545682fbb83481299c1029e (patch) | |
tree | 7fa8e7a118499d7020a80ff5074253a1973af488 /backend/constants.py | |
parent | Merge pull request #38 from python-discord/submission-timestamp (diff) | |
parent | Merge branch 'main' into docs/api-spec (diff) |
Merge pull request #37 from python-discord/docs/api-spec
Provide HTML documentation of endpoints
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") |