From 3af859487ed2bafcd8d92931f5693224c4d6f3f3 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 3 Jan 2024 06:13:30 -0800 Subject: fix(routes): absolute domain for shortcuts --- src/routes/birthdays/+server.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/routes/birthdays/+server.ts') diff --git a/src/routes/birthdays/+server.ts b/src/routes/birthdays/+server.ts index 346619ac..fe94f3e5 100644 --- a/src/routes/birthdays/+server.ts +++ b/src/routes/birthdays/+server.ts @@ -1,5 +1,7 @@ export const GET = ({ url }) => Response.redirect( - `/tools?tool=birthdays${url.search.length > 0 ? url.search.replace('?', '') : ''}`, + `https://due.moe/tools?tool=birthdays${ + url.search.length > 0 ? url.search.replace('?', '') : '' + }`, 302 ); -- cgit v1.2.3