mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 17:20:30 +08:00
/hid/state -> /hid
This commit is contained in:
parent
5e9c110ef6
commit
d732b4f518
@ -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())
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user