GUACAMOLE-5: Expose session as a REST resource. Refactor /api/data to /api/session/data.
This commit is contained in:
1 parent
1aa256b26c
commit
c586d1840d
11 files changed
+177
-45
No files matched your search
@@ -60,7 +60,7 @@ angular.module('rest').factory('activeConnectionService', ['$injector',
|
||||
// Retrieve tunnels
|
||||
return $http({
|
||||
method : 'GET',
|
||||
url : 'api/data/' + encodeURIComponent(dataSource) + '/activeConnections',
|
||||
url : 'api/session/data/' + encodeURIComponent(dataSource) + '/activeConnections',
|
||||
params : httpParameters
|
||||
});
|
||||
|
||||
@@ -159,7 +159,7 @@ angular.module('rest').factory('activeConnectionService', ['$injector',
|
||||
// Perform active connection deletion via PATCH
|
||||
return $http({
|
||||
method : 'PATCH',
|
||||
url : 'api/data/' + encodeURIComponent(dataSource) + '/activeConnections',
|
||||
url : 'api/session/data/' + encodeURIComponent(dataSource) + '/activeConnections',
|
||||
params : httpParameters,
|
||||
data : activeConnectionPatch
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user