mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-11 05:33:57 +00:00
Use the kobo auth'd version for download link when proxied -- Fixes #1908
This commit is contained in:
parent
f4ddac16f9
commit
c279055af4
@ -305,7 +305,8 @@ def get_download_url_for_book(book, book_format):
|
||||
book_format=book_format.lower()
|
||||
)
|
||||
return url_for(
|
||||
"web.download_link",
|
||||
"kobo.download_book",
|
||||
auth_token=kobo_auth.get_auth_token(),
|
||||
book_id=book.id,
|
||||
book_format=book_format.lower(),
|
||||
_external=True,
|
||||
|
Loading…
Reference in New Issue
Block a user