aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-10-21 19:01:08 +0200
committerWojtek Kosior <koszko@koszko.org>2022-10-21 19:05:46 +0200
commitd4895218cf8a3a16b74f42c530d78106062cf95b (patch)
tree8613d50dfa192e8f6e70ec342c77e6c34da16da7
parent21453723106ef524f8a07ef2ee2ba6d59ed7eb4a (diff)
downloadhaketilo-hydrilla-d4895218cf8a3a16b74f42c530d78106062cf95b.tar.gz
haketilo-hydrilla-d4895218cf8a3a16b74f42c530d78106062cf95b.zip
[proxy] correct style in page_init_script.js.jinja
-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
+ );
})();