Skip to content

Commit

Permalink
feat: add redirect from project/[projectId] to project/[projectId]/da…
Browse files Browse the repository at this point in the history
…shboard
  • Loading branch information
Slartibartfass2 committed Dec 17, 2024
1 parent 4bfae41 commit a2919ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/routes/project/[projectId]/+page.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { redirect } from "@sveltejs/kit";
import type { PageLoad } from "./$types";

export const load: PageLoad = async ({ params }) => {
throw redirect(303, `/project/${params.projectId}/dashboard`);
};

0 comments on commit a2919ca

Please sign in to comment.