diff options
| author | Fuwn <[email protected]> | 2024-01-03 06:13:30 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-03 06:13:30 -0800 |
| commit | 3af859487ed2bafcd8d92931f5693224c4d6f3f3 (patch) | |
| tree | aeb5a00226afecb7f217c731d9e32300151baae5 /src/routes/birthdays | |
| parent | fix(routes): shortcuts no trailing and (diff) | |
| download | due.moe-3af859487ed2bafcd8d92931f5693224c4d6f3f3.tar.xz due.moe-3af859487ed2bafcd8d92931f5693224c4d6f3f3.zip | |
fix(routes): absolute domain for shortcuts
Diffstat (limited to 'src/routes/birthdays')
| -rw-r--r-- | src/routes/birthdays/+server.ts | 4 |
1 files changed, 3 insertions, 1 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 ); |