From d41b619049f369415f4e53fdc1228265f3691cd6 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Wed, 3 Jan 2024 08:00:39 -0500 Subject: [PATCH] Update .changeset/tiny-days-dance.md Co-authored-by: Emanuele Stoppa --- .changeset/tiny-days-dance.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.changeset/tiny-days-dance.md b/.changeset/tiny-days-dance.md index e77044fceb3c..ae62b609f485 100644 --- a/.changeset/tiny-days-dance.md +++ b/.changeset/tiny-days-dance.md @@ -20,8 +20,9 @@ Later, you can decode the URL in the same way: ```astro --- +import { decodeCookieValue } from "./cookies"; const url = Astro.cookies.get('url', { - decode: o => o + decode: value => decodeCookieValue(value) }); --- ```