fixing map timing errors and still trying to make leaderboard and clues pages.

Grey = cant click
Red = current
Green = complete
blue = skipped?

Need to add Clue page Need to fix Leaderboard.
This commit is contained in:
bobbert committed 2025-03-15 16:52:50 +00:00
1 parent 16319f1333
commit 30d88407a0
8 files changed
+597 -169

No files matched your search

+3 -1
View File
@@ -24,7 +24,7 @@ export async function GET(request) {
);
}
// Get all clues
// Get all clues with explicit ordering to ensure consistency
const clues = await query(`
SELECT id, title, description, location, x_coord, y_coord
FROM clues
@@ -46,6 +46,8 @@ export async function GET(request) {
})
);
console.log(`Returning ${cluesWithStatus.length} clues`);
return Response.json(cluesWithStatus, {
headers: {
"Cache-Control": "no-store, no-cache, must-revalidate",