mirror of https://github.com/portainer/portainer
8 lines
303 B
JavaScript
8 lines
303 B
JavaScript
angular.module('portainer.rest')
|
|
.factory('Version', ['$resource', 'Settings', 'EndpointProvider', function VersionFactory($resource, Settings, EndpointProvider) {
|
|
'use strict';
|
|
return $resource(Settings.url + '/:endpointId/version', {
|
|
endpointId: EndpointProvider.endpointID
|
|
});
|
|
}]);
|