Harden gameplay timing and map loading

This commit is contained in:
2026-10-05 15:15:35 +05:00
parent 8b31891776
commit dcc3779262
36 changed files with 1050 additions and 205 deletions

View File

@@ -6,6 +6,9 @@ async function route(
request: NextRequest,
{ params }: { params: Promise<{ path: string[] }> },
) {
return handle(request, (await params).path);
const response = await handle(request, (await params).path);
// Includes private drafts, pairing credentials, token creation and errors.
response.headers.set("Cache-Control", "private, no-store");
return response;
}
export { route as GET, route as POST, route as PATCH, route as DELETE };