diff options
Diffstat (limited to 'pysite/constants.py')
-rw-r--r-- | pysite/constants.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pysite/constants.py b/pysite/constants.py index 016ab9c5..e6d618c0 100644 --- a/pysite/constants.py +++ b/pysite/constants.py @@ -14,6 +14,7 @@ class ErrorCodes(IntEnum): class ValidationTypes(Enum): json = "json" + none = "none" params = "params" @@ -53,6 +54,8 @@ DISCORD_OAUTH_SECRET = environ.get('DISCORD_OAUTH_SECRET', '') DISCORD_OAUTH_SCOPE = 'identify' OAUTH_DATABASE = "oauth_data" +GITLAB_ACCESS_TOKEN = environ.get("GITLAB_ACCESS_TOKEN", '') + PREFERRED_URL_SCHEME = environ.get("PREFERRED_URL_SCHEME", "http") ERROR_DESCRIPTIONS = { |