Skip to content

Commit 9670c85

Browse files
committed
Fix regex for URLs
1 parent 46a0a26 commit 9670c85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readthedocs/core/urls/subdomain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
handler404 = server_error_404
2424

2525
subdomain_urls = [
26-
url(r'robots.txt$', robots_txt, name='robots_txt'),
27-
url(r'sitemap.xml$', sitemap_xml, name='sitemap_xml'),
26+
url(r'robots\.txt$', robots_txt, name='robots_txt'),
27+
url(r'sitemap\.xml$', sitemap_xml, name='sitemap_xml'),
2828

2929
url(
3030
r'^(?:|projects/(?P<subproject_slug>{project_slug})/)'

0 commit comments

Comments
 (0)