summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/hid.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-04-27 01:58:21 +0300
committerDevaev Maxim <[email protected]>2019-04-27 01:58:21 +0300
commitc40f13e2d79c2ed23502e3c49f9b1e8c7d23f1c2 (patch)
tree0f0e006ebbb8eb0ea7b1e25dab82af908727096f /web/share/js/kvm/hid.js
parenta89612e5ac6ae03089500768bed9ef049ce75c4b (diff)
url refactoring
Diffstat (limited to 'web/share/js/kvm/hid.js')
-rw-r--r--web/share/js/kvm/hid.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/hid.js b/web/share/js/kvm/hid.js
index 17b21ca9..345b28eb 100644
--- a/web/share/js/kvm/hid.js
+++ b/web/share/js/kvm/hid.js
@@ -215,7 +215,7 @@ function Hid() {
var __clickResetButton = function() {
wm.confirm("Are you sure you want to reset HID (keyboard & mouse)?").then(function(ok) {
if (ok) {
- let http = tools.makeRequest("POST", "/kvmd/hid/reset", function() {
+ let http = tools.makeRequest("POST", "/api/hid/reset", function() {
if (http.readyState === 4) {
if (http.status !== 200) {
wm.error("HID reset error:<br>", http.responseText);