diff options
author | 2021-02-10 00:54:58 +0000 | |
---|---|---|
committer | 2021-02-10 00:54:58 +0000 | |
commit | e5a0bba5bda972439f2cda87f3966b19e4cd10a5 (patch) | |
tree | bf380b518770a102e58eb53a7cc2b062d7c21435 /pydis_site | |
parent | Update hosts.py (diff) |
Don't change the name of the host for subdomains
The host is used to build reverse URLs during tests, changing it causes it to fail.
Diffstat (limited to 'pydis_site')
-rw-r--r-- | pydis_site/hosts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/hosts.py b/pydis_site/hosts.py index 4e55d838..5a837a8b 100644 --- a/pydis_site/hosts.py +++ b/pydis_site/hosts.py @@ -5,7 +5,7 @@ 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='external_api'), + 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'), |