diff options
Diffstat (limited to 'src/invidious.cr')
| -rw-r--r-- | src/invidious.cr | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index 26d1d083..0d84081f 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -116,16 +116,7 @@ spawn do end end -proxies = {} of String => Array({ip: String, port: Int32}) -if CONFIG.geo_bypass - spawn do - find_working_proxies(BYPASS_REGIONS) do |region, list| - if !list.empty? - proxies[region] = list - end - end - end -end +proxies = PROXY_LIST before_all do |env| env.response.headers["X-XSS-Protection"] = "1; mode=block;" |
