From e66e0af3abeeb8239f42f6c85585436031661f5f Mon Sep 17 00:00:00 2001 From: Michael Jolley Date: Thu, 11 Apr 2024 20:36:47 -0500 Subject: [PATCH] Fixing astro referrer --- netlify/edge-functions/hiya.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/netlify/edge-functions/hiya.ts b/netlify/edge-functions/hiya.ts index 43e6805..8dd3889 100644 --- a/netlify/edge-functions/hiya.ts +++ b/netlify/edge-functions/hiya.ts @@ -49,6 +49,7 @@ export default async (request: Request, context: Context) => { let astroReplace = analytic.referrer == "https://astro.build/" ? astroed : ""; + console.log(analytic.referrer); const astroRegex = //i; updatedPage = updatedPage.replace(astroRegex, astroReplace);