update CORS proxy to use cors-proxy.uncloseai.com endpoint
This commit is contained in:
parent
2b69a4d17d
commit
a89a45e177
1 changed files with 2 additions and 2 deletions
|
|
@ -15,8 +15,8 @@ async function fetchRemotePageContent(url) {
|
|||
throw new Error(`Invalid URL format: ${url}`);
|
||||
}
|
||||
|
||||
// Use our CORS proxy at uncloseai.com with query parameter
|
||||
const proxyUrl = `https://uncloseai.com/api/fetch?uri_target=${encodeURIComponent(url)}`;
|
||||
// Use our CORS proxy at cors-proxy.uncloseai.com with query parameter
|
||||
const proxyUrl = `https://cors-proxy.uncloseai.com/api/fetch?uri_target=${encodeURIComponent(url)}`;
|
||||
|
||||
const response = await fetch(proxyUrl, {
|
||||
method: 'GET',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue