aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-02-10 00:36:43 +0000
committerGravatar GitHub <[email protected]>2021-02-10 00:36:43 +0000
commitc00aeb96e1566b7f71ef15cd840895f4e44d5181 (patch)
tree361ff30d70d66447dfea729644700c877ba02225
parentUpdate the README badges (diff)
Update ALLOWED_HOSTS
Add internal domain for API routing and remove legacy routes for pydis.com domains (which are now redirected at the edge)
-rw-r--r--pydis_site/settings.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py
index 50caab80..300452fa 100644
--- a/pydis_site/settings.py
+++ b/pydis_site/settings.py
@@ -62,11 +62,7 @@ else:
'admin.pythondiscord.com',
'api.pythondiscord.com',
'staff.pythondiscord.com',
- 'pydis.com',
- 'api.pydis.com',
- 'admin.pydis.com',
- 'staff.pydis.com',
- 'api.site',
+ 'pydis-api.default.svc.cluster.local',
]
)
SECRET_KEY = env('SECRET_KEY')