Frontend Fixes + Adjust Caddyfile (#518)

* token error handling

* Add additional settings to recipes

* fixes #515

* remove index.html

Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
Hayden
2021-06-14 19:37:38 -08:00
committed by GitHub
parent 17a7d0b31e
commit d7c883feca
19 changed files with 48 additions and 319 deletions

View File

@@ -150,7 +150,13 @@ export default {
methods: {
async refreshProfile() {
this.user = await api.users.self();
const [response, err] = await api.users.self();
if (err) {
return; // TODO: Log or Notifty User of Error
}
this.user = response.data;
},
openAvatarPicker() {
this.showAvatarPicker = true;