FS-8291 [verto_communicator] fix contributors url

This commit is contained in:
Stefan Yohansson
2015-10-02 17:57:46 -03:00
parent b514c9cd6e
commit ae2583fd1b
2 changed files with 4 additions and 2 deletions

View File

@@ -6,7 +6,8 @@
.controller('ContributorsController', ['$scope', '$http',
'toastr',
function($scope, $http, toastr) {
$http.get(window.location.pathname + '/contributors.txt')
var url = window.location.origin + window.location.pathname;
$http.get(url + 'contributors.txt')
.success(function(data) {
var contributors = [];
@@ -29,4 +30,4 @@
});
}
]);
})();
})();