aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/upstream/+server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/upstream/+server.ts')
-rw-r--r--src/routes/upstream/+server.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/routes/upstream/+server.ts b/src/routes/upstream/+server.ts
new file mode 100644
index 0000000..678e4cd
--- /dev/null
+++ b/src/routes/upstream/+server.ts
@@ -0,0 +1,6 @@
+import { redirect } from "@sveltejs/kit";
+import { repository } from "$/../package.json" with { type: "json" };
+
+export const GET = () => {
+ throw redirect(307, repository.url);
+};