mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-05 06:25:19 +00:00
add controller options to allow multiple routes per controller
This commit is contained in:
parent
42191f4e77
commit
aa9737498a
8 changed files with 24 additions and 25 deletions
|
|
@ -4,7 +4,7 @@ from owrx.connection import WebSocketMessageHandler
|
|||
|
||||
|
||||
class WebSocketController(Controller):
|
||||
def handle_request(self):
|
||||
def indexAction(self):
|
||||
conn = WebSocketConnection(self.handler, WebSocketMessageHandler())
|
||||
# enter read loop
|
||||
conn.handle()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue