summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/invidious.cr5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index b4df40cf..4c190249 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -4705,6 +4705,7 @@ get "/ggpht/*" do |env|
env.response.headers["Access-Control-Allow-Origin"] = "*"
if response.status_code >= 300
+ env.response.headers.delete("Transfer-Encoding")
break
end
@@ -4754,6 +4755,7 @@ get "/sb/:id/:storyboard/:index" do |env|
env.response.headers["Access-Control-Allow-Origin"] = "*"
if response.status_code >= 300
+ env.response.headers.delete("Transfer-Encoding")
break
end
@@ -4798,7 +4800,8 @@ get "/vi/:id/:name" do |env|
env.response.headers["Access-Control-Allow-Origin"] = "*"
- if response.status_code >= 300
+ if response.status_code >= 300 && response.status_code != 404
+ env.response.headers.delete("Transfer-Encoding")
break
end
d>2021-01-11Update Russian translationTotalCaesar659 2021-01-11Fix typoSimonBrazell 2021-01-11CLoses #130 changed to GPLv3, added SearX instances (#16), fixed instance ↵v1.1.45SimonBrazell selects. 2021-01-11gecko: strict_min_version: 67.0 due to dynamic importsSimonBrazell 2021-01-11Fix for https://github.com/mozilla/addons-linter/issues/3541#issue-782801439SimonBrazell 2021-01-10Fixed README & build configv1.1.44SimonBrazell 2021-01-10Restructure code with helper modules, add search engine settings, & advanced ↵SimonBrazell settings collapsibles. 2021-01-05Added more instances of teddit and libredditSoheb 2021-01-05Add support for libredd.itSoheb 2020-12-26Losslessly compress PNG imagesFrank3K 2020-12-17add nitter.unixfox.eu as a nitter instance to the listEmilien Devos 2020-11-29Update background.jsAustin Huang 2020-11-22Updated background.jsaapl-yumi 2020-11-17Add "yewtu.be" back to the random instance listÉmilien Devos 2020-11-11Update background.jsYumi Izumi 2020-11-09Update Russian translationTotalCaesar659 2020-11-09Update README.mdYumi Izumi 2020-11-09Update options.jsYumi Izumi 2020-11-09Update options.htmlYumi Izumi 2020-11-08Update popup.jsYumi Izumi 2020-11-08Update popup.htmlYumi Izumi 2020-11-08Update background.jsYumi Izumi 2020-11-08Closes #111 - Adds ability to customise random instance poolsv1.1.43SimonBrazell 2020-11-08Fixes #119 - Change zh-CN to zh_CN.SimonBrazell 2020-11-07Update README.mdKunio Some suggestions, added FreeTube, updated invidious links, added permissions. 2020-11-05Update Russian translationTotalCaesar659 2020-11-04Update store listing templatesSimonBrazell 2020-11-04Update Bibliogram linksbopol Bibliogram has moved to source hut (for a while now) 2020-11-04Remove duplicate entry in instagramReservedPaths arraySimonBrazell 2020-11-04Remove "https://yewtu.be" from random instance listSimonBrazell 2020-11-04Ignore embedded videos for FreeTube redirectsSimonBrazell 2020-11-04Fixes #99 - Bibliogram, handle /igtv/, /tv/ and /reel/v1.1.42SimonBrazell 2020-11-04Fixes #104 - /remove-twitter-sw.js stopping Twitter redirectsSimonBrazell 2020-11-04Closes #113 - Added support for FreeTubeSimonBrazell 2020-11-04Clean up invidious random instance listSimonBrazell 2020-10-23Rename _locales/store.md to _locales/pl/store.mdAustin Huang