Skip to content

Commit

Permalink
routing and callback
Browse files Browse the repository at this point in the history
  • Loading branch information
RGBKnights committed Jan 9, 2025
1 parent 56ae442 commit 87111cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const routes = [
{ path: '/faqs', component: () => import('@/views/QuestionsView.vue') },
{ path: '/privacy', component: () => import('@/views/PrivacyView.vue') },
{ path: '/terms', component: () => import('@/views/TermsView.vue') },
{ path: '/callback', component: () => import('@/views/CallbackView.vue') },
]

const router = createRouter({
Expand Down
5 changes: 5 additions & 0 deletions src/views/CallbackView.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<script setup lang="ts">
import { useRouter } from 'vue-router'
const router = useRouter()
router.push('/')
</script>

0 comments on commit 87111cc

Please sign in to comment.