diff options
| -rw-r--r-- | pydis_site/settings.py | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py index 6f49763b..0aa66322 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -14,6 +14,7 @@ import os  import secrets  import sys  from pathlib import Path +from socket import gethostname, gethostbyname  import environ  import sentry_sdk @@ -59,6 +60,8 @@ else:              'api.pythondiscord.com',              'staff.pythondiscord.com',              'pydis-api.default.svc.cluster.local', +            gethostname(), +            gethostbyname(gethostname())          ]      )      SECRET_KEY = env('SECRET_KEY')  |