From f51971fbae9734c4b401c8ca7401496933208746 Mon Sep 17 00:00:00 2001 From: jamerrq Date: Mon, 2 Dec 2024 08:39:35 -0500 Subject: [PATCH] fix: redirects from non canonical --- src/components/head/scripts.astro | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/head/scripts.astro b/src/components/head/scripts.astro index 557f7bc..0acbc37 100644 --- a/src/components/head/scripts.astro +++ b/src/components/head/scripts.astro @@ -13,14 +13,15 @@ const blob = rawBlobs.at(index)! // @ts-ignore import { pwaInfo } from 'virtual:pwa-info' -const url = Astro.url -const isInDeno = url.toString().includes('.deno.dev') +const astroURL = Astro.url.toString() +const isInDeno = astroURL.includes('.deno.dev') --- - -