Make sure to always load the home route when starting the app
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2020-10-08 22:17:41 +02:00
parent 5bb8afbde5
commit 844905b0d9
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 5 additions and 0 deletions

View File

@ -392,6 +392,11 @@ export default {
},
created() {
// Make sure to always load the home route when running with electron
if(this.$route.fullPath.endsWith('frontend/index.html')) {
this.$router.push({name: 'home'})
}
// Service worker communication
document.addEventListener(swEvents.SW_UPDATED, this.showRefreshUI, {once: true})