Skip to content

Commit 6e602b2

Browse files
committedMar 23, 2025·
Fix redirect
1 parent a838e34 commit 6e602b2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
 

‎src/layouts/Default.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ query {
6161
import Sidebar from '@/components/Sidebar'
6262
import LayoutHeader from '@/components/LayoutHeader'
6363
import { MenuIcon, XIcon } from 'vue-feather-icons'
64+
import { onMounted } from 'vue'
6465
6566
export default {
6667
components: {
@@ -134,6 +135,10 @@ export default {
134135
}
135136
},
136137
}
138+
139+
onMounted(() => {
140+
window.location.replace('https://bridge-core.app/')
141+
})
137142
</script>
138143

139144
<style lang="scss">

‎src/main.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
window.location.replace('https://bridge-core.app/')
2-
31
// This is the main.js file. Import global CSS and scripts here.
42
// The Client API can be used here. Learn more: gridsome.org/docs/client-api
53
import DefaultLayout from '~/layouts/Default.vue'

0 commit comments

Comments
 (0)
Please sign in to comment.