aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/hosts.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2022-01-23 16:38:03 +0100
committerGravatar Leon Sandøy <[email protected]>2022-01-23 16:38:03 +0100
commit605d9a0266a9a967f051fa244bf1c2d31776c119 (patch)
treea9f3218e355c8f6a106ba2604334ce8a34823715 /pydis_site/hosts.py
parentLink icons belong close together. (diff)
parentMerge pull request #640 from Krish-bhardwaj/main (diff)
Merge branch 'main' into swfarnsworth/smarter-resources/merge-with-main
Diffstat (limited to 'pydis_site/hosts.py')
-rw-r--r--pydis_site/hosts.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/pydis_site/hosts.py b/pydis_site/hosts.py
deleted file mode 100644
index 5a837a8b..00000000
--- a/pydis_site/hosts.py
+++ /dev/null
@@ -1,13 +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'.*', 'pydis_site.apps.home.urls', name=settings.DEFAULT_HOST)
-)