diff --git a/src/app/api/new-game/route.js b/src/app/api/new-game/route.js index 9daf661..ed83036 100644 --- a/src/app/api/new-game/route.js +++ b/src/app/api/new-game/route.js @@ -71,8 +71,9 @@ export async function GET(request) { sessionId: currentSessionId, // Built from the picked region only -- never from the resolved district. region: publicRegion(pickedRegion), + // The pano id stays server-side in the session: with it a player could + // look the panorama up on Mapillary and read the answer coordinates. imageData: { - id: selectedImage.id, url: imageUrl, isPano: selectedImage.isPano }