referer is probably a good metric

This commit is contained in:
alyssadev 2023-09-18 16:00:54 +10:00
parent 6e48bd015c
commit cbb9349b2f

View file

@ -33,7 +33,8 @@ function create_response(request, body, metadata) {
request.cf.asn, request.cf.asn,
request.cf.timezone, request.cf.timezone,
new Date().toISOString(), new Date().toISOString(),
request.headers.get("cf-connecting-ip") request.headers.get("cf-connecting-ip"),
request.headers.get("referer")
] ]
}) })
return new Response(body, metadata) return new Response(body, metadata)