Don't try to insert header etc. on .rss URLs.

This commit is contained in:
ccd0 2019-09-14 20:41:19 -07:00
parent 7edc767dde
commit 50000b2fa5

View File

@ -584,7 +584,7 @@ Main =
Main.thisPageIsLegit = if g.SITE.isThisPageLegit
g.SITE.isThisPageLegit()
else
!/^[45]\d\d\b/.test(document.title) and !/\.json$/.test(location.pathname)
!/^[45]\d\d\b/.test(document.title) and !/\.(?:json|rss)$/.test(location.pathname)
Main.thisPageIsLegit
ready: (cb) ->