diff options
Diffstat (limited to 'src/invidious.cr')
| -rw-r--r-- | src/invidious.cr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index 37a68d20..614b25c0 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -106,6 +106,7 @@ spawn do 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? @@ -113,6 +114,7 @@ spawn do end end end +end before_all do |env| env.response.headers["X-XSS-Protection"] = "1; mode=block;" |
