diff options
Diffstat (limited to 'fg21sim/webui')
-rw-r--r-- | fg21sim/webui/app.py | 2 |
1 files changed, 2 insertions, 0 deletions
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: |