import { html } from "lit-html";
import { Route, SLUG_REGEX } from "./pages/router/Route";
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/$"), html``),
new Route(new RegExp("^/administration/overview-ng/$"), html``),
new Route(new RegExp("^/applications/$"), html``),
new Route(new RegExp(`^/applications/(?${SLUG_REGEX})/$`)).then((args) => {
return html``;
}),
];