Skip to content

Commit a58447b

Browse files
committed
Redirect on re-fresh
1 parent 97eaee7 commit a58447b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

web/layouts/default.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ export default class DefaultLayout extends Vue {
3131
3232
mounted() {
3333
this.startPoller()
34+
if (this.$route.name !== 'index') {
35+
this.$router.push({ name: 'index' })
36+
}
3437
}
3538
3639
beforeDestroy(): void {

0 commit comments

Comments
 (0)