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:
parent
2a27906a5e
commit
32ecf26ccd
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue