diff options
author | 2021-10-06 20:33:19 +0100 | |
---|---|---|
committer | 2021-10-06 20:33:19 +0100 | |
commit | e608c0be5ac37382d2030d964a4fb686eadbe652 (patch) | |
tree | 8ef45354bb952dc17f0c6980ef49e70764cccf2a /pydis_site/hosts.py | |
parent | Switches HTTP Links To HTTPS (diff) | |
parent | Merge pull request #600 from python-discord/netlify-logo (diff) |
Merge branch 'main' into fix-http-links
Diffstat (limited to 'pydis_site/hosts.py')
-rw-r--r-- | pydis_site/hosts.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pydis_site/hosts.py b/pydis_site/hosts.py index 5a837a8b..719e93cf 100644 --- a/pydis_site/hosts.py +++ b/pydis_site/hosts.py @@ -9,5 +9,6 @@ host_patterns = patterns( # Internal API ingress (cluster local) host(r'pydis-api', 'pydis_site.apps.api.urls', name='internal_api'), host(r'staff', 'pydis_site.apps.staff.urls', name='staff'), - host(r'.*', 'pydis_site.apps.home.urls', name=settings.DEFAULT_HOST) + host(r'www', 'pydis_site.apps.home.urls', name=settings.DEFAULT_HOST), + host(r'.*', 'pydis_site.apps.home.urls', name="fallback") ) |