diff --git a/src/app/src/App.vue b/src/app/src/App.vue index 3dd4f83..bbf26de 100644 --- a/src/app/src/App.vue +++ b/src/app/src/App.vue @@ -57,6 +57,16 @@ export default { } } }, + async created () { + try { + await this.$auth.renewTokens() + } catch (e) { + if (e !== 'Not logged in') { + // eslint-disable-next-line + console.log(e) + } + } + }, mounted () { this.progress.events.$on('show', this.showProgress) this.progress.events.$on('done', this.hideProgress) @@ -103,10 +113,10 @@ export default {