Skip to content

Commit

Permalink
Make ErrorView reset current path to /
Browse files Browse the repository at this point in the history
his makes it easier to refresh the page afterwards.
  • Loading branch information
luk1337 committed Mar 2, 2024
1 parent b55a45f commit 85f18f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/views/ErrorView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ export default {
type: String,
default: 'An unknown error-main occurred'
}
},
mounted() {
history.pushState({}, null, '/')
}
}
</script>
Expand Down

0 comments on commit 85f18f6

Please sign in to comment.