Skip to content

Commit

Permalink
bug fix added restart as a Post Url
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewiski committed Apr 18, 2024
1 parent 557952d commit 74e1567
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uisp-tools",
"version": "0.0.28",
"version": "0.0.29",
"description": "Tools for UISP",
"main": "server.js",
"license": "GPL-3.0-or-later",
Expand Down
1 change: 1 addition & 0 deletions plugins/uisptools/serverSide.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ var uisptools = {
router.get('/' + this.uispToolsApiRequestHandler.options.urlPrefix + 'uisptools/api/nms/devices', this.getNMSDevices.bind(this));
router.get('/' + this.uispToolsApiRequestHandler.options.urlPrefix + 'uisptools/api/nms/devices/*', this.getNMSDevices.bind(this));
router.post('/' + this.uispToolsApiRequestHandler.options.urlPrefix + 'uisptools/api/nms/devices/:deviceid/iplink/redirect', this.postNMSDevices.bind(this));
router.post('/' + this.uispToolsApiRequestHandler.options.urlPrefix + 'uisptools/api/nms/devices/:deviceid/iplink/restart', this.postNMSDevices.bind(this));
router.get('/' + this.uispToolsApiRequestHandler.options.urlPrefix + 'uisptools/api/nms/sites', this.getNMSSites.bind(this));
//router.get('/' + this.uispToolsApiRequestHandler.options.urlPrefix + 'uisptools/api/nms/devices/airmaxes/:deviceid/config/wireless', this.getNMSDevices.bind(this));
///airos/" + deviceId + "/configuration
Expand Down

0 comments on commit 74e1567

Please sign in to comment.