diff --git a/src/routes/graphs/+layout.server.ts b/src/routes/graphs/+layout.server.ts new file mode 100644 index 0000000..a63087a --- /dev/null +++ b/src/routes/graphs/+layout.server.ts @@ -0,0 +1,8 @@ +import { redirect } from '@sveltejs/kit'; + +export function load({ url }: { url: URL }) { + if (url.pathname == '/graphs') { + throw redirect(302, '/graphs/tab'); + } + +} \ No newline at end of file