From 50000b2fa5704de49f4a80a472cdd909fe9afdc0 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 14 Sep 2019 20:41:19 -0700 Subject: [PATCH] Don't try to insert header etc. on .rss URLs. --- src/main/Main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/Main.coffee b/src/main/Main.coffee index 50cedf55a..3e1de4492 100644 --- a/src/main/Main.coffee +++ b/src/main/Main.coffee @@ -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) ->