diff options
Diffstat (limited to 'src/routes/birthdays')
| -rw-r--r-- | src/routes/birthdays/+server.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/birthdays/+server.ts b/src/routes/birthdays/+server.ts index fe94f3e5..2b9219b5 100644 --- a/src/routes/birthdays/+server.ts +++ b/src/routes/birthdays/+server.ts @@ -1,7 +1,7 @@ export const GET = ({ url }) => Response.redirect( `https://due.moe/tools?tool=birthdays${ - url.search.length > 0 ? url.search.replace('?', '') : '' + url.searchParams.values.length > 0 ? `&${url.searchParams.toString()}` : '' }`, - 302 + 301 ); |