diff --git a/src/translate-modal.js b/src/translate-modal.js index 4df23f7..327aba2 100644 --- a/src/translate-modal.js +++ b/src/translate-modal.js @@ -15,8 +15,9 @@ async function fetchRemotePageContent(url) { throw new Error(`Invalid URL format: ${url}`); } - // Use our CORS proxy at uncloseai.com - const proxyUrl = `https://uncloseai.com/api/fetch/${encodeURIComponent(url)}`; + // For now, use a public CORS proxy until we set up our own + // Options: https://corsproxy.io/?url= or https://api.allorigins.win/raw?url= + const proxyUrl = `https://api.allorigins.win/raw?url=${encodeURIComponent(url)}`; const response = await fetch(proxyUrl, { method: 'GET',