diff options
| author | Pitu <[email protected]> | 2019-03-19 07:58:36 +0000 |
|---|---|---|
| committer | Pitu <[email protected]> | 2019-03-19 07:58:36 +0000 |
| commit | 107d1f4750e8f82a628b528c4ec200e918be271d (patch) | |
| tree | 0225bca3fd2a27e81b2ff711e53278cee890fdab /src/site/layouts | |
| parent | add restart at the end of update command (diff) | |
| download | host.fuwn.me-107d1f4750e8f82a628b528c4ec200e918be271d.tar.xz host.fuwn.me-107d1f4750e8f82a628b528c4ec200e918be271d.zip | |
API key WIP
Diffstat (limited to 'src/site/layouts')
| -rw-r--r-- | src/site/layouts/default.vue | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/site/layouts/default.vue b/src/site/layouts/default.vue index 41c3ebd..7a5d4cc 100644 --- a/src/site/layouts/default.vue +++ b/src/site/layouts/default.vue @@ -41,12 +41,14 @@ export default { processCatch(error, logout) { if (error.response && error.response.data && error.response.data.message) { this.showToast(error.response.data.message, true, 5000); + /* if (error.response.status === 429) return; if (error.response.status === 502) return; if (error.response.data.message === 'Token expired') { this.$logOut(); setTimeout(() => this.$router.push('/'), 3000); } + */ } else { console.error(error); this.showToast('Something went wrong, please check the console :(', true, 5000); |