aboutsummaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/birthdays/+server.ts4
-rw-r--r--src/routes/wrapped/+server.ts2
2 files changed, 4 insertions, 2 deletions
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
);
diff --git a/src/routes/wrapped/+server.ts b/src/routes/wrapped/+server.ts
index 1acbbe62..851a4d7e 100644
--- a/src/routes/wrapped/+server.ts
+++ b/src/routes/wrapped/+server.ts
@@ -1,5 +1,5 @@
export const GET = ({ url }) =>
Response.redirect(
- `/tools?tool=wrapped${url.search.length > 0 ? url.search.replace('?', '') : ''}`,
+ `https://due.moe/tools?tool=wrapped${url.search.length > 0 ? url.search.replace('?', '') : ''}`,
302
);