This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

fix url

+1 -1
+1 -1
src/components/Leaderboard/Leaderboard.js
··· 54 54 console.log(`Fetching leaderboard data for scoreType: ${scoreType}`); 55 55 56 56 // Call the backend endpoint instead of directly querying Supabase 57 - const response = await fetch(`/api/leaderboard?scoreType=${scoreType}&limit=100`); 57 + const response = await fetch(`https://api.cred.blue/api/leaderboard?scoreType=${scoreType}&limit=100`); 58 58 59 59 // Check for non-200 responses 60 60 if (!response.ok) {