Harden gameplay timing and map loading
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user