mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
8 lines
275 B
JavaScript
8 lines
275 B
JavaScript
angular.module('portainer.rest')
|
|
.factory('Settings', ['$resource', 'SETTINGS_ENDPOINT', function SettingsFactory($resource, SETTINGS_ENDPOINT) {
|
|
'use strict';
|
|
return $resource(SETTINGS_ENDPOINT, {}, {
|
|
get: { method: 'GET' },
|
|
update: { method: 'PUT' }
|
|
});
|
|
}]);
|