mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 17:11:52 +08:00
/hid/state -> /hid
This commit is contained in:
@@ -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())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user