From c18a8c18ef8408bc183266a23e08a6235c26896b Mon Sep 17 00:00:00 2001 From: Gormery Kombo Wanjiru Date: Mon, 12 Feb 2024 19:58:51 +0100 Subject: [PATCH] format --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f38e3e1..72343b5 100644 --- a/README.md +++ b/README.md @@ -110,9 +110,9 @@ git subtree push --prefix=apps/htmx-chat https://github.com/valiantlynx/htmx-cha ### cors work around in the head ´´´js - ´´´ + // CORS workaround + document.addEventListener("htmx:configRequest", (evt) => { + evt.detail.headers = []; + }); + +´´´