aboutsummaryrefslogtreecommitdiff
path: root/src/routes/birthdays/+server.ts
blob: e20d6c8a8f0d47382c1976a4197dfe248ace0ce6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import root from '$lib/Utility/root.js';

export const GET = ({ url }) => {
	return Response.redirect(
		root(
			`/tools/birthdays${
				url.searchParams.toString().length > 0 ? `?${url.searchParams.toString()}` : ''
			}`
		),
		307
	);
};