Skip to content

Commit

Permalink
Redirect /download to /api/download
Browse files Browse the repository at this point in the history
  • Loading branch information
MineGame159 committed Sep 30, 2024
1 parent ed0052d commit d0bd9d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/routes/download/+server.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { redirect } from "@sveltejs/kit";

export async function GET({ url }) {
throw redirect(301, "https://meteorclient.com/api/download" + url.search);
}

0 comments on commit d0bd9d2

Please sign in to comment.