Skip to content

Commit 07f0867

Browse files
committed
Fix regex for URLs
1 parent 9aef959 commit 07f0867

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
@@ -24,8 +24,8 @@
2424
handler404 = server_error_404
2525

2626
subdomain_urls = [
27-
url(r'robots.txt$', robots_txt, name='robots_txt'),
28-
url(r'sitemap.xml$', sitemap_xml, name='sitemap_xml'),
27+
url(r'robots\.txt$', robots_txt, name='robots_txt'),
28+
url(r'sitemap\.xml$', sitemap_xml, name='sitemap_xml'),
2929

3030
url(r'^(?:|projects/(?P<subproject_slug>{project_slug})/)'
3131
r'page/(?P<filename>.*)$'.format(**pattern_opts),

0 commit comments

Comments
 (0)