From 98d19698fb34a32b033fa0864dfd60c8cca154be Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 8 Jun 2023 20:18:49 +0100 Subject: [PATCH] index: remove cors proxy thing --- cef/files/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cef/files/index.html b/cef/files/index.html index afe1cf0..d1d58f9 100644 --- a/cef/files/index.html +++ b/cef/files/index.html @@ -103,6 +103,7 @@ xml.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xml.setRequestHeader("Accept", "application/json"); xml.send(post_data); + } break; case "initAuth": @@ -137,7 +138,7 @@ } function handleGameLogin(s, credentials, id) { - const auth_url = "https://thingproxy.freeboard.io/fetch/".concat(atob(s.profile_api).concat("/profile")); + const auth_url = atob(s.profile_api).concat("/profile"); var xml = new XMLHttpRequest(); xml.onreadystatechange = () => { if (xml.readyState == 4 && xml.status == 200) {