diff --git a/src/App.tsx b/src/App.tsx index a9e253e..173cd12 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -27,9 +27,9 @@ export default function App() { try { setIsLoadingDefault(true); setDefaultLoadError(null); - // Using corsproxy.io to avoid Dropbox CORS issues + // Using allorigins proxy to avoid Dropbox CORS issues and improve reliability const dropboxUrl = 'https://dl.dropboxusercontent.com/scl/fi/nkyabkq2jdwfudof2ovrl/Data-Matrix.xlsx?rlkey=1cz5fuabwipqqivihii7sybw0&st=io0g4wvb&dl=1'; - const proxyUrl = `https://corsproxy.io/?${encodeURIComponent(dropboxUrl)}`; + const proxyUrl = `https://api.allorigins.win/raw?url=${encodeURIComponent(dropboxUrl)}`; const response = await fetch(proxyUrl); if (!response.ok) {