Skip to content

Commit

Permalink
Ignore trailing slash for tos route
Browse files Browse the repository at this point in the history
  • Loading branch information
gchartier committed Aug 14, 2024
1 parent 1aa2728 commit 1b60a3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/routes/tos/+page.server.ts
Original file line number Diff line number Diff line change
@@ -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");
Expand Down

0 comments on commit 1b60a3b

Please sign in to comment.