aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/web/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy/web/app.py')
-rw-r--r--libmproxy/web/app.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmproxy/web/app.py b/libmproxy/web/app.py
index e832f724..37da4a42 100644
--- a/libmproxy/web/app.py
+++ b/libmproxy/web/app.py
@@ -54,7 +54,7 @@ class Settings(tornado.web.RequestHandler):
))
-class FlowClear(tornado.web.RequestHandler):
+class Clear(tornado.web.RequestHandler):
def post(self):
self.application.state.clear()
@@ -72,7 +72,7 @@ class Application(tornado.web.Application):
(r"/events", Events),
(r"/flows", Flows),
(r"/settings", Settings),
- (r"/flows/clear", FlowClear),
+ (r"/clear", Clear),
]
settings = dict(
template_path=os.path.join(os.path.dirname(__file__), "templates"),