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
|
||||
.get("cf-ray")
|
||||
?.split("-")
|
||||
?.at(0)}${crypto.randomUUID().replaceAll("-", "")}`;
|
||||
?.replace("-", "")}${crypto.randomUUID().replaceAll("-", "")}`;
|
||||
|
||||
const { current_user: currentUser } = context.data;
|
||||
if (filesToProcess.length)
|
||||
|
||||
Reference in New Issue
Block a user