summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-02-17 08:05:57 +0300
committerDevaev Maxim <[email protected]>2020-02-17 08:05:57 +0300
commitd732b4f518ba59a69c608c8b2a46e5ec74ee294b (patch)
treebb688351fb6fb5b82cf6fe3ea4e9bb441255e31b
parent5e9c110ef66aeb5f6634135f246171dffc1d44e3 (diff)
/hid/state -> /hid
-rw-r--r--kvmd/apps/kvmd/api/hid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/kvmd/api/hid.py b/kvmd/apps/kvmd/api/hid.py
index 0ee726ca..24c48798 100644
--- a/kvmd/apps/kvmd/api/hid.py
+++ b/kvmd/apps/kvmd/api/hid.py
@@ -45,7 +45,7 @@ class HidApi:
# =====
- @exposed_http("GET", "/hid/state")
+ @exposed_http("GET", "/hid")
async def __state_handler(self, _: aiohttp.web.Request) -> aiohttp.web.Response:
return make_json_response(self.__hid.get_state())