From cbb9349b2f7c2a112b5b7887df1e76d92b874a83 Mon Sep 17 00:00:00 2001 From: alyssadev Date: Mon, 18 Sep 2023 16:00:54 +1000 Subject: [PATCH] referer is probably a good metric --- src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 4d9a960..57008de 100644 --- a/src/index.js +++ b/src/index.js @@ -33,7 +33,8 @@ function create_response(request, body, metadata) { request.cf.asn, request.cf.timezone, new Date().toISOString(), - request.headers.get("cf-connecting-ip") + request.headers.get("cf-connecting-ip"), + request.headers.get("referer") ] }) return new Response(body, metadata)