Fixed dead CORS bypass
This commit is contained in:
parent
76683d8381
commit
56041a56c1
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ function formatPhone(phone) {
|
||||||
|
|
||||||
async function fetchHtml(url) {
|
async function fetchHtml(url) {
|
||||||
try {
|
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;
|
return response.data;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Error fetching HTML:", error);
|
console.error("Error fetching HTML:", error);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue