Skip to content

Commit

Permalink
Bug 1941468 - Sitemap robots.txt template is looking at the wrong var…
Browse files Browse the repository at this point in the history
…iable to determine if running on production bugzilla.mozilla.org
  • Loading branch information
dklawren authored Jan 14, 2025
1 parent 172618f commit 0380781
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions template/en/default/robots.txt.tmpl
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
User-agent: *
Disallow: [% basepath FILTER none %]
Crawl-delay: 30
[% IF Bugzilla.localconfig.urlbase == "https://bugzilla.mozilla.org/" %]
[% IF urlbase == "https://bugzilla.mozilla.org/" %]

[% USE Bugzilla %]
Allow: [% basepath FILTER none %]$
Allow: [% basepath FILTER none %]index.cgi

Expand Down

0 comments on commit 0380781

Please sign in to comment.