aboutsummaryrefslogtreecommitdiffstats
path: root/backend/constants.py
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-12-27 20:20:17 +0200
committerGravatar ks129 <[email protected]>2020-12-27 20:20:17 +0200
commit1758f29de0471c084e8c0ccfe9f48a6aea0a8f4e (patch)
tree73cc190a907faffb41b8171a679e56ad65f7814d /backend/constants.py
parentInject Git SHA to image during building (diff)
Add Git SHA constant
Diffstat (limited to 'backend/constants.py')
-rw-r--r--backend/constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/constants.py b/backend/constants.py
index bf0c33c..cfc4cd1 100644
--- a/backend/constants.py
+++ b/backend/constants.py
@@ -17,6 +17,8 @@ OAUTH2_REDIRECT_URI = os.getenv(
"https://forms.pythondiscord.com/callback"
)
+GIT_SHA = os.getenv("GIT_SHA", "dev")
+
DOCS_PASSWORD = os.getenv("DOCS_PASSWORD")
SECRET_KEY = os.getenv("SECRET_KEY", binascii.hexlify(os.urandom(30)).decode())