diff --git a/display.js b/display.js index 734b18e..c08571a 100644 --- a/display.js +++ b/display.js @@ -86,7 +86,7 @@ newQuestionBtn.addEventListener('click', async () => { try { // Just fetch a random question without filtering - const response = await fetch(API_URL, { + const response = await fetch(CORS_PROXY + encodeURIComponent(API_URL), { method: 'GET' // Changed to GET - simpler });