mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
refactor(api): relocate /docker API endpoint under /endpoints (#1053)
This commit is contained in:
parent
53583741ba
commit
02203e7ce5
29 changed files with 70 additions and 70 deletions
|
@ -1,7 +1,7 @@
|
|||
angular.module('portainer.rest')
|
||||
.factory('Settings', ['$resource', 'SETTINGS_ENDPOINT', function SettingsFactory($resource, SETTINGS_ENDPOINT) {
|
||||
.factory('Settings', ['$resource', 'API_ENDPOINT_SETTINGS', function SettingsFactory($resource, API_ENDPOINT_SETTINGS) {
|
||||
'use strict';
|
||||
return $resource(SETTINGS_ENDPOINT, {}, {
|
||||
return $resource(API_ENDPOINT_SETTINGS, {}, {
|
||||
get: { method: 'GET' },
|
||||
update: { method: 'PUT' }
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue