Skip to content

Commit d0bd9d2

Browse files
committed
Redirect /download to /api/download
1 parent ed0052d commit d0bd9d2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/routes/download/+server.ts

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { redirect } from "@sveltejs/kit";
2+
3+
export async function GET({ url }) {
4+
throw redirect(301, "https://meteorclient.com/api/download" + url.search);
5+
}

0 commit comments

Comments
 (0)