aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy
diff options
context:
space:
mode:
Diffstat (limited to 'src/hydrilla/proxy')
-rw-r--r--src/hydrilla/proxy/policies/injectable_scripts/page_init_script.js.jinja9
1 files changed, 6 insertions, 3 deletions
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 <https://www.gnu.org/licenses/>.
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
+ );
})();