mirror of
https://github.com/nicotsx/zerobyte.git
synced 2026-06-16 12:32:13 -04:00
18 lines
411 B
TypeScript
18 lines
411 B
TypeScript
import { createFileRoute, redirect } from "@tanstack/react-router";
|
|
|
|
export const Route = createFileRoute("/")({
|
|
head: () => ({
|
|
meta: [
|
|
{ title: "Zerobyte" },
|
|
{
|
|
name: "description",
|
|
content: "Zerobyte - Manage your backups and storage volumes with ease.",
|
|
},
|
|
],
|
|
}),
|
|
errorComponent: () => <div>Failed to load page</div>,
|
|
beforeLoad: () => {
|
|
throw redirect({ to: "/volumes" });
|
|
},
|
|
});
|