diff options
author | Devaev Maxim <[email protected]> | 2020-02-17 08:05:57 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-02-17 08:05:57 +0300 |
commit | d732b4f518ba59a69c608c8b2a46e5ec74ee294b (patch) | |
tree | bb688351fb6fb5b82cf6fe3ea4e9bb441255e31b | |
parent | 5e9c110ef66aeb5f6634135f246171dffc1d44e3 (diff) |
/hid/state -> /hid
-rw-r--r-- | kvmd/apps/kvmd/api/hid.py | 2 |
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()) |