mirror of
https://github.com/deadcxap/bs-overlay.git
synced 2026-07-02 05:43:39 +03:00
Add files via upload
This commit is contained in:
+1
-1
@@ -619,7 +619,7 @@
|
||||
originalUrl = `https://api.beatleader.xyz/players?search=${encodeURIComponent(config.blId)}`;
|
||||
}
|
||||
|
||||
const proxiedUrl = `https://api.allorigins.win/raw?url=${encodeURIComponent(originalUrl)}`;
|
||||
const proxiedUrl = `https://api.codetabs.com/v1/proxy?quest=${encodeURIComponent(originalUrl)}`;
|
||||
const res = await fetch(proxiedUrl, { headers: { 'Accept': 'application/json' } });
|
||||
|
||||
if (!res.ok) throw new Error(`Network error: ${res.status}`);
|
||||
|
||||
Reference in New Issue
Block a user