diff options
author | 2021-10-06 22:38:16 +0100 | |
---|---|---|
committer | 2021-10-06 22:38:16 +0100 | |
commit | 3c2fcb86b7aad1ddca92e54c2fd39693e55109f8 (patch) | |
tree | 2eab9855ab1a83352a5d83050d8a1fc0524f3285 /pydis_site/hosts.py | |
parent | Merge pull request #599 from python-discord/fix-http-links (diff) | |
parent | Merge branch 'master' into subdomains-to-query-paths (diff) |
Merge pull request #526 from python-discord/subdomains-to-query-paths
Diffstat (limited to 'pydis_site/hosts.py')
-rw-r--r-- | pydis_site/hosts.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/pydis_site/hosts.py b/pydis_site/hosts.py deleted file mode 100644 index 719e93cf..00000000 --- a/pydis_site/hosts.py +++ /dev/null @@ -1,14 +0,0 @@ -from django.conf import settings -from django_hosts import host, patterns - -host_patterns = patterns( - '', - host(r'admin', 'pydis_site.apps.admin.urls', name="admin"), - # External API ingress (over the net) - host(r'api', 'pydis_site.apps.api.urls', name='api'), - # 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'www', 'pydis_site.apps.home.urls', name=settings.DEFAULT_HOST), - host(r'.*', 'pydis_site.apps.home.urls', name="fallback") -) |