0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch.git synced 2025-04-12 21:31:19 -05:00

added /auth/callback route

This commit is contained in:
Max Ebert 2024-09-27 16:02:51 +02:00
parent 2a27906a5e
commit 32ecf26ccd

View file

@ -9,6 +9,7 @@ const VodView = () => import('../views/VodView.vue')
const SettingsView = () => import('../views/SettingsView.vue')
const ClipView = () => import('../views/ClipView.vue')
const FollowingView = () => import('../views/FollowingView.vue')
const AuthCallback = () => import('../views/AuthCallback.vue')
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@ -47,6 +48,10 @@ const router = createRouter({
path: '/:username',
component: UserView
},
{
path: '/auth/callback',
component: AuthCallback
},
{
path: '/settings',
component: SettingsView