Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { useAuthStore } from "./stores/auth";
* The router here allows for navigation between different functional pages of the TRIPLE App
*/
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
history: createWebHistory('/solid-cockpit/'),
routes: [
{
name: "Home",
Expand Down Expand Up @@ -47,6 +47,11 @@ const router = createRouter({
path: "/privacy",
components: { default: EditPrivacy },
},
{
name: "CatchAll",
path: "/:pathMatch(.*)*",
component: NotFound,
},
],
});

Expand Down
Loading