From 59ff41a3f644064e76755b087bb26f330eed09bd Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Sat, 11 Jun 2022 19:38:37 -0500 Subject: [PATCH] Include params from Astro request --- helpers/url.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helpers/url.js b/helpers/url.js index 63cb2a5..46545b5 100644 --- a/helpers/url.js +++ b/helpers/url.js @@ -86,6 +86,7 @@ export function getPathPartsFromAstroRequest ( AstroRequest ) { pathname: url.pathname, routeType, pathSlug, - subSlug + subSlug, + params: Object.fromEntries( url.searchParams ) } }