Skip to content

Commit 1f334f2

Browse files
Merge pull request #602 from python-discord/jb3/yes-to-www-take-two
Update hosts.py to default to www
2 parents 8f596f3 + b5b49ef commit 1f334f2

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)