Skip to content

Commit b5b49ef

Browse files
committed
Update hosts.py to default to www
1 parent 8f596f3 commit b5b49ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pydis_site/hosts.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99
# Internal API ingress (cluster local)
1010
host(r'pydis-api', 'pydis_site.apps.api.urls', name='internal_api'),
1111
host(r'staff', 'pydis_site.apps.staff.urls', name='staff'),
12-
host(r'.*', 'pydis_site.apps.home.urls', name=settings.DEFAULT_HOST)
12+
host(r'www', 'pydis_site.apps.home.urls', name=settings.DEFAULT_HOST),
13+
host(r'.*', 'pydis_site.apps.home.urls', name="fallback")
1314
)

0 commit comments

Comments
 (0)