mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-24 02:41:01 +00:00
83577a7d5d
removed amber files. replacing with angular removed queue package in favor or worker package removed channel package in favor of pubsub package
14 lines
No EOL
285 B
JavaScript
14 lines
No EOL
285 B
JavaScript
'use strict';
|
|
|
|
angular.module('app').service('confService', function($q, $http) {
|
|
return{
|
|
getConfig : function() {
|
|
var defer = $q.defer();
|
|
var route = '/v1/config';
|
|
$http.get(route).success(function(data){
|
|
defer.resolve(data);
|
|
});
|
|
return defer.promise;
|
|
}
|
|
}
|
|
}); |