mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 12:49:57 +00:00
Fixed dead CORS bypass
This commit is contained in:
parent
76683d8381
commit
56041a56c1
@ -124,7 +124,7 @@ function formatPhone(phone) {
|
||||
|
||||
async function fetchHtml(url) {
|
||||
try {
|
||||
const response = await axios.get(`https://cors-bypass.amano.workers.dev/${url}`, { headers: HEADERS });
|
||||
const response = await axios.get(url, { headers: HEADERS });
|
||||
return response.data;
|
||||
} catch (error) {
|
||||
console.error("Error fetching HTML:", error);
|
||||
|
Loading…
x
Reference in New Issue
Block a user