完成配置功能

This commit is contained in:
John Smith
2019-06-12 19:20:17 +08:00
parent 920e6fff96
commit 1cbaed4127
4 changed files with 138 additions and 33 deletions

View File

@@ -36,7 +36,7 @@ def main():
(r'/config', views.config.ConfigsHandler),
(r'/config/(.+)', views.config.ConfigHandler),
(r'/((css|img|js)/.*)', tornado.web.StaticFileHandler, {'path': WEB_ROOT}),
(r'/((css|fonts|img|js)/.*)', tornado.web.StaticFileHandler, {'path': WEB_ROOT}),
(r'/(favicon\.ico)', tornado.web.StaticFileHandler, {'path': WEB_ROOT}),
(r'/.*', views.main.MainHandler, {'path': WEB_ROOT})
],