inital cbr support
This commit is contained in:
parent
60ab6a5244
commit
6d19dd5e81
6 changed files with 44 additions and 4 deletions
|
|
@ -58,12 +58,14 @@ 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/cbr.js/(.*)', StaticFileHandler, {'path': os.path.join(settings.base_dir, '..', 'reader', 'cbr.js')}),
|
||||
(r'/static/epub.js/(.*)', StaticFileHandler, {'path': os.path.join(settings.base_dir, '..', 'reader', 'epub.js')}),
|
||||
(r'/static/pdf.js/(.*)', StaticFileHandler, {'path': os.path.join(settings.base_dir, '..', 'reader', 'pdf.js')}),
|
||||
(r'/static/txt.js/(.*)', StaticFileHandler, {'path': os.path.join(settings.base_dir, '..', 'reader', 'txt.js')}),
|
||||
(r'/static/(.*)', StaticFileHandler, {'path': settings.static_path}),
|
||||
(r'/(.*)/epub/(.*)', EpubHandler),
|
||||
(r'/(.*?)/reader/', ReaderHandler),
|
||||
(r'/(.*?)/cbr/', FileHandler),
|
||||
(r'/(.*?)/pdf/', FileHandler),
|
||||
(r'/(.*?)/txt/', FileHandler),
|
||||
(r'/(.*?)/get/', FileHandler, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue