Fix Firebase config
This commit is contained in:
@@ -86,7 +86,7 @@ newQuestionBtn.addEventListener('click', async () => {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
// Just fetch a random question without filtering
|
// 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
|
method: 'GET' // Changed to GET - simpler
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user