url to download book with ok name
This commit is contained in:
parent
bc065c7fda
commit
23aaf37740
2 changed files with 11 additions and 1 deletions
|
|
@ -65,6 +65,9 @@ def run():
|
|||
(r'/(.*?)/reader/', ReaderHandler),
|
||||
(r'/(.*?)/pdf/', FileHandler),
|
||||
(r'/(.*?)/txt/', FileHandler),
|
||||
(r'/(.*?)/get/', FileHandler, {
|
||||
'download': True
|
||||
}),
|
||||
(r'/(.*)/(cover|preview)(\d*).jpg', IconHandler),
|
||||
(r'/api/', oxtornado.ApiHandler, dict(context=db.session)),
|
||||
(r'/ws', websocket.Handler),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue