From d4895218cf8a3a16b74f42c530d78106062cf95b Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 21 Oct 2022 19:01:08 +0200 Subject: [proxy] correct style in page_init_script.js.jinja --- .../proxy/policies/injectable_scripts/page_init_script.js.jinja | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/hydrilla/proxy/policies/injectable_scripts/page_init_script.js.jinja b/src/hydrilla/proxy/policies/injectable_scripts/page_init_script.js.jinja index 629b008..f3398ef 100644 --- a/src/hydrilla/proxy/policies/injectable_scripts/page_init_script.js.jinja +++ b/src/hydrilla/proxy/policies/injectable_scripts/page_init_script.js.jinja @@ -42,7 +42,7 @@ along with this program. If not, see . I, Wojtek Kosior, thereby promise not to sue for violation of this file's license. Although I request that you do not make use of this code in a proprietary program, I am not going to enforce this in court. --#} +#} (function(){ /* @@ -142,7 +142,10 @@ code in a proprietary program, I am not going to enforce this in court. const response_name = `${name}-${event.detail.id}`; const detail = JSON.stringify(result); window_dispatchEvent(new CustomEvent(response_name, {detail})); -} + } -window.addEventListener("haketilo_CORS_bypass", on_unrestricted_http_request); + window.addEventListener( + "haketilo_CORS_bypass", + on_unrestricted_http_request + ); })(); -- cgit v1.2.3