We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c1de83 commit ae14c03Copy full SHA for ae14c03
1 file changed
src/router.ts
@@ -15,7 +15,7 @@ import { useAuthStore } from "./stores/auth";
15
* The router here allows for navigation between different functional pages of the TRIPLE App
16
*/
17
const router = createRouter({
18
- history: createWebHistory(import.meta.env.BASE_URL),
+ history: createWebHistory('/solid-cockpit/'),
19
routes: [
20
{
21
name: "Home",
@@ -47,6 +47,11 @@ const router = createRouter({
47
path: "/privacy",
48
components: { default: EditPrivacy },
49
},
50
+ {
51
+ name: "CatchAll",
52
+ path: "/:pathMatch(.*)*",
53
+ component: NotFound,
54
+ },
55
],
56
});
57
0 commit comments