From 7e086c0aff6bac9f6ae8bf5600fe6a9b2be5d36b Mon Sep 17 00:00:00 2001 From: Gabriel Chartier Date: Fri, 2 Aug 2024 10:47:01 -0400 Subject: [PATCH] Add tos 302 redirect to docs --- src/routes/tos/+page.server.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/routes/tos/+page.server.ts diff --git a/src/routes/tos/+page.server.ts b/src/routes/tos/+page.server.ts new file mode 100644 index 0000000..8e05d9f --- /dev/null +++ b/src/routes/tos/+page.server.ts @@ -0,0 +1,6 @@ +import { redirect } from "@sveltejs/kit"; + +// 302 temporary redirect -> https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302 +export async function load() { + throw redirect(302, "https://docs.orcfax.io/terms-of-service"); +}