ui sockets
This commit is contained in:
parent
c602aab915
commit
8da17a33d3
3 changed files with 70 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ import setup
|
|||
import state
|
||||
import tasks
|
||||
import websocket
|
||||
import ui_websocket
|
||||
import update
|
||||
|
||||
import logging
|
||||
|
|
@ -130,6 +131,7 @@ def run():
|
|||
handlers = common_handlers + [
|
||||
(r'/api/upload/', UploadHandler, dict(context=db.session)),
|
||||
(r'/api/', oxtornado.ApiHandler, dict(context=db.session)),
|
||||
(r'/ui_socket', ui_websocket.Handler),
|
||||
(r'/ws', websocket.Handler),
|
||||
(r"(.*)", MainHandler),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue