显示的房间URL改成加载器URL

This commit is contained in:
John Smith
2020-08-18 21:48:33 +08:00
parent d25a32beaf
commit bfa6054899
3 changed files with 19 additions and 7 deletions

View File

@@ -24,9 +24,7 @@ routes = [
(r'/server_info', api.main.ServerInfoHandler),
(r'/chat', api.chat.ChatHandler),
(r'/((css|fonts|img|js|static)/.*)', tornado.web.StaticFileHandler, {'path': WEB_ROOT}),
(r'/(favicon\.ico)', tornado.web.StaticFileHandler, {'path': WEB_ROOT}),
(r'/.*', api.main.MainHandler, {'path': WEB_ROOT})
(r'/(.*)', api.main.MainHandler, {'path': WEB_ROOT, 'default_filename': 'index.html'})
]