From 1b60a3b110446b3f5f79f4eb211757d630e4bf90 Mon Sep 17 00:00:00 2001 From: Gabriel Chartier Date: Wed, 14 Aug 2024 15:13:15 -0400 Subject: [PATCH] Ignore trailing slash for tos route --- src/routes/tos/+page.server.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/routes/tos/+page.server.ts b/src/routes/tos/+page.server.ts index 8e05d9f..04a38d2 100644 --- a/src/routes/tos/+page.server.ts +++ b/src/routes/tos/+page.server.ts @@ -1,5 +1,7 @@ import { redirect } from "@sveltejs/kit"; +export const trailingSlash = "ignore"; + // 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");