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) }); --- ```