From 0d059f6794da6132e56e412ba5afa31a6ef76c5d Mon Sep 17 00:00:00 2001 From: mohamadreza Date: Wed, 11 Sep 2024 02:00:58 +0330 Subject: [PATCH] feat(header): change header --- script/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/script.js b/script/script.js index 193e70d..03ac185 100644 --- a/script/script.js +++ b/script/script.js @@ -242,7 +242,7 @@ elm_save.addEventListener("click", () => { } xhr.open("POST", APP_URL + "/api/v1/verify_token"); - xhr.setRequestHeader('Content-type', 'application/json'); + xhr.setRequestHeader('Content-type', 'application/json; charset=utf-8'); xhr.send(JSON.stringify({ token: token }));