import { html } from "lit";
import { Route } from "./elements/router/Route";
import "./user/LibraryPage";
export const ROUTES: Route[] = [
// Prevent infinite Shell loops
new Route(new RegExp("^/$")).redirect("/library"),
new Route(new RegExp("^#.*")).redirect("/library"),
new Route(new RegExp("^/library$"), async () => html``),
new Route(new RegExp("^/settings$"), async () => {
await import("@goauthentik/web/user/user-settings/UserSettingsPage");
return html``;
}),
];