Added API call to run task immediately.
This commit is contained in:
parent
638cc94db3
commit
bee528f1b8
4 changed files with 48 additions and 10 deletions
server
|
@ -17,6 +17,7 @@ angular.module('ffffng').factory('Router', function (
|
|||
app.put('/api/monitoring/disable/:token', MonitoringResource.disable);
|
||||
|
||||
app.get('/internal/api/task/all', TaskResource.getAll);
|
||||
app.put('/internal/api/task/run/:id', TaskResource.run);
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue