2024-03-11 07:22:48 +01:00
|
|
|
import type { RouteRecordRaw } from "vue-router";
|
2023-12-12 22:34:14 +01:00
|
|
|
import indexVue from "./pages/index.vue";
|
|
|
|
|
import authorizeVue from "./pages/oauth/authorize.vue";
|
2024-03-14 04:02:50 +01:00
|
|
|
import redirectVue from "./pages/oauth/redirect.vue";
|
2023-12-12 22:34:14 +01:00
|
|
|
import registerIndexVue from "./pages/register/index.vue";
|
|
|
|
|
import successVue from "./pages/register/success.vue";
|
2024-04-09 06:33:59 +02:00
|
|
|
import statusVue from "./pages/[username]/[uuid].vue";
|
|
|
|
|
import userVue from "./pages/[username]/index.vue";
|
2023-12-07 01:29:26 +01:00
|
|
|
|
|
|
|
|
export default [
|
2024-04-07 07:30:49 +02:00
|
|
|
{ path: "/", component: indexVue },
|
|
|
|
|
{ path: "/oauth/authorize", component: authorizeVue },
|
|
|
|
|
{ path: "/oauth/redirect", component: redirectVue },
|
|
|
|
|
{ path: "/register", component: registerIndexVue },
|
|
|
|
|
{ path: "/register/success", component: successVue },
|
2024-04-09 06:33:59 +02:00
|
|
|
{ path: "/:username/:uuid", component: statusVue },
|
|
|
|
|
{ path: "/:username", component: userVue },
|
2024-03-11 07:22:48 +01:00
|
|
|
] as RouteRecordRaw[];
|