move oxjs into extra module

This commit is contained in:
j 2015-03-08 00:28:24 +05:30
commit 4d4bd252fe
2 changed files with 11 additions and 3 deletions

View file

@ -57,6 +57,7 @@ def run():
handlers = [
(r'/(favicon.ico)', StaticFileHandler, {'path': settings.static_path}),
(r'/static/oxjs/(.*)', StaticFileHandler, {'path': os.path.join(settings.base_dir, '..', 'oxjs')}),
(r'/static/(.*)', StaticFileHandler, {'path': settings.static_path}),
(r'/(.*)/epub/(.*)', EpubHandler),
(r'/(.*?)/reader/', ReaderHandler),