Include both ray and region in report id
This commit is contained in:
@@ -194,8 +194,7 @@ export async function onRequestPost(context: RequestContext) {
|
|||||||
|
|
||||||
const reportId = `${Date.now()}${context.request.headers
|
const reportId = `${Date.now()}${context.request.headers
|
||||||
.get("cf-ray")
|
.get("cf-ray")
|
||||||
?.split("-")
|
?.replace("-", "")}${crypto.randomUUID().replaceAll("-", "")}`;
|
||||||
?.at(0)}${crypto.randomUUID().replaceAll("-", "")}`;
|
|
||||||
|
|
||||||
const { current_user: currentUser } = context.data;
|
const { current_user: currentUser } = context.data;
|
||||||
if (filesToProcess.length)
|
if (filesToProcess.length)
|
||||||
|
|||||||
Reference in New Issue
Block a user