Skip to content

Commit

Permalink
Merge pull request #706 from POPSuL/f/705
Browse files Browse the repository at this point in the history
Fixed redirecting to web_host after authorization
  • Loading branch information
fiftin committed Aug 30, 2021
2 parents 7443671 + 0d840c5 commit c540e38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web2/src/views/Auth.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default {
async created() {
if (this.isAuthenticated()) {
document.location = '/';
document.location = document.baseURI;
}
},
Expand Down Expand Up @@ -115,7 +115,7 @@ export default {
},
});
document.location = '/';
document.location = document.baseURI;
} catch (err) {
console.log(err);
if (err.response.status === 401) {
Expand Down

0 comments on commit c540e38

Please sign in to comment.