Skip to content

Commit

Permalink
docs: don't redirect all
Browse files Browse the repository at this point in the history
  • Loading branch information
rossrobino committed Aug 30, 2024
1 parent 59a2778 commit 44a7723
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/docs/src/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ app.get("/", async (c) => {
});

// redirects from previous version
app.get("/oklch/", (c) => c.redirect("/color-generator", 301));
app.get("/oklch", (c) => c.redirect("/color-generator", 301));
app.get("/components/", (c) => c.redirect("/", 301));

app.get("/fonts/", (c) => c.redirect("/", 301));

app.get("/*", (c) => c.redirect("/", 301));
app.get("/oklch/", (c) => c.redirect("/color-generator", 301));

export default app;

0 comments on commit 44a7723

Please sign in to comment.