diff options
author | 2021-03-04 11:58:05 +0800 | |
---|---|---|
committer | 2021-03-04 11:58:05 +0800 | |
commit | b5a7dc48cd1ffbb0471858660d58b8b2e6a115fa (patch) | |
tree | 3d9b98700df69ace83c90a31c8625710639427db /pydis_site/hosts.py | |
parent | Hide arrow to the right of More below the 1024px breakpoint (diff) | |
parent | Update Dockerfile (diff) |
Resolve conflicts
Diffstat (limited to 'pydis_site/hosts.py')
-rw-r--r-- | pydis_site/hosts.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pydis_site/hosts.py b/pydis_site/hosts.py index 898e8cdc..5a837a8b 100644 --- a/pydis_site/hosts.py +++ b/pydis_site/hosts.py @@ -4,7 +4,10 @@ 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) ) |