|
|
@ -106,6 +106,7 @@ spawn do
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
proxies = {} of String => Array({ip: String, port: Int32})
|
|
|
|
proxies = {} of String => Array({ip: String, port: Int32})
|
|
|
|
|
|
|
|
if CONFIG.geo_bypass
|
|
|
|
spawn do
|
|
|
|
spawn do
|
|
|
|
find_working_proxies(BYPASS_REGIONS) do |region, list|
|
|
|
|
find_working_proxies(BYPASS_REGIONS) do |region, list|
|
|
|
|
if !list.empty?
|
|
|
|
if !list.empty?
|
|
|
@ -113,6 +114,7 @@ spawn do
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
before_all do |env|
|
|
|
|
before_all do |env|
|
|
|
|
env.response.headers["X-XSS-Protection"] = "1; mode=block;"
|
|
|
|
env.response.headers["X-XSS-Protection"] = "1; mode=block;"
|
|
|
|