From b578dbafd58df8da5f96471cfea47439508e95f4 Mon Sep 17 00:00:00 2001 From: erikklavora <46493001+erikklavora@users.noreply.github.com> Date: Sun, 5 Oct 2025 14:17:41 +0200 Subject: [PATCH] Add files via upload Aded proxy file to get rid of CORS problems --- proxy.php | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 proxy.php diff --git a/proxy.php b/proxy.php new file mode 100644 index 0000000..039df73 --- /dev/null +++ b/proxy.php @@ -0,0 +1,62 @@ + 'Proxy error: ' . curl_error($ch)]); + curl_close($ch); + exit(); +} + +curl_close($ch); + +// Set the HTTP response code +http_response_code($httpCode); + +// Return the response +echo $response; +?>