Skip to content

Commit 9c7bfa0

Browse files
committed
Merge branch 'develop' of github.com:ansible-semaphore/semaphore into develop
2 parents bb3f560 + c540e38 commit 9c7bfa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web2/src/views/Auth.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default {
8787
8888
async created() {
8989
if (this.isAuthenticated()) {
90-
document.location = '/';
90+
document.location = document.baseURI;
9191
}
9292
},
9393
@@ -115,7 +115,7 @@ export default {
115115
},
116116
});
117117
118-
document.location = '/';
118+
document.location = document.baseURI;
119119
} catch (err) {
120120
console.log(err);
121121
if (err.response.status === 401) {

0 commit comments

Comments
 (0)