Skip to content
Snippets Groups Projects

Fix backup restore

Merged Samuel GAIST requested to merge fix_backup_restore into 1.4.x
3 files
+ 11
9
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -20,7 +20,7 @@
* with the BEAT platform. If not, see http://www.gnu.org/licenses/.
*/
//This factory retrieves data from the REST API and associates it with the $scope
angular.module('reportApp').factory('experimentFactory', 'UrlService', function($http, $q, UrlService){
angular.module('reportApp').factory('experimentFactory', ['$http', 'UrlService', function($http, UrlService){
let urlBase = '/api/v1/experiments';
let prefix = new URL(UrlService.getPrefix()).pathname;
if(prefix.endsWith('/'))
@@ -51,4 +51,4 @@ angular.module('reportApp').factory('experimentFactory', 'UrlService', function(
});
}
};
});
}]);
Loading