mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-05-06 08:22:50 +08:00
always use the app dispatcher
This commit is contained in:
@@ -49,10 +49,6 @@ class FlowClear(tornado.web.RequestHandler):
|
||||
self.application.state.clear()
|
||||
|
||||
|
||||
class FlowUpdates(WebSocketEventBroadcaster):
|
||||
connections = set()
|
||||
|
||||
|
||||
class ClientConnection(WebSocketEventBroadcaster):
|
||||
connections = set()
|
||||
|
||||
@@ -65,7 +61,6 @@ class Application(tornado.web.Application):
|
||||
(r"/updates", ClientConnection),
|
||||
(r"/flows", Flows),
|
||||
(r"/flows/clear", FlowClear),
|
||||
(r"/flows/updates", FlowUpdates),
|
||||
]
|
||||
settings = dict(
|
||||
template_path=os.path.join(os.path.dirname(__file__), "templates"),
|
||||
|
||||
Reference in New Issue
Block a user