update CORS proxy to use cors-proxy.uncloseai.com endpoint

This commit is contained in:
Russell Ballestrini 2025-07-11 19:05:47 -04:00
parent 2b69a4d17d
commit a89a45e177

View file

@ -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',