From 17c5415eaf9de202260bcb4f7c82a05d7b4880f0 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Thu, 24 Nov 2016 10:48:39 +0800 Subject: webui: Bind "ProductsDownloadHandler" to URI "/products/download/" --- fg21sim/webui/app.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fg21sim/webui') diff --git a/fg21sim/webui/app.py b/fg21sim/webui/app.py index 972771c..8ab19ce 100644 --- a/fg21sim/webui/app.py +++ b/fg21sim/webui/app.py @@ -19,6 +19,7 @@ from .handlers import (IndexHandler, ConfigsAJAXHandler, ConsoleAJAXHandler, ProductsAJAXHandler, + ProductsDownloadHandler, WSHandler) from .utils import gen_cookie_secret from ..configs import ConfigManager @@ -71,6 +72,7 @@ class Application(tornado.web.Application): url(r"/ajax/configs", ConfigsAJAXHandler), url(r"/ajax/console", ConsoleAJAXHandler), url(r"/ajax/products", ProductsAJAXHandler), + url(r"/products/download/(.*)", ProductsDownloadHandler), url(r"/ws", WSHandler), ] if options.debug: -- cgit v1.2.2