diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-24 10:48:39 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-24 10:48:39 +0800 |
commit | 17c5415eaf9de202260bcb4f7c82a05d7b4880f0 (patch) | |
tree | 63deca5e364f2bfe558d00f30fd98bb12983b1df /fg21sim | |
parent | 435b189e18329901f59bf938d1006929f55571f4 (diff) | |
download | fg21sim-17c5415eaf9de202260bcb4f7c82a05d7b4880f0.tar.bz2 |
webui: Bind "ProductsDownloadHandler" to URI "/products/download/"
Diffstat (limited to 'fg21sim')
-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: |