mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Added trailing / to the end of our base url paths
This commit is contained in:
parent
c20e9baa55
commit
58e760355f
@ -62,7 +62,8 @@ export default
|
||||
headers: {},
|
||||
|
||||
setUrl: function (url) {
|
||||
this.url = url;
|
||||
// Ensure that a trailing slash is present at the end of the url (before query params, etc)
|
||||
this.url = url.replace(/\/?(\?|#|$)/, '/$1');
|
||||
},
|
||||
checkExpired: function () {
|
||||
return ($rootScope.sessionTimer) ? $rootScope.sessionTimer.isExpired() : false;
|
||||
|
Loading…
Reference in New Issue
Block a user