handle download menu entry
This commit is contained in:
parent
6bce40ad3a
commit
515a6d23f6
2 changed files with 3 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ def run():
|
|||
(r'/(.*?)/pdf/', FileHandler),
|
||||
(r'/(.*?)/txt/', FileHandler),
|
||||
(r'/(.*?)/get/', FileHandler, {
|
||||
'download': True
|
||||
'attachment': True
|
||||
}),
|
||||
(r'/(.*)/(cover|preview)(\d*).jpg', IconHandler),
|
||||
(r'/api/', oxtornado.ApiHandler, dict(context=db.session)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue