Move the entry download route to API

This commit is contained in:
Alex Ling
2020-12-14 13:03:23 +00:00
parent d33b45233a
commit 1f795889a9
4 changed files with 19 additions and 14 deletions

View File

@@ -55,7 +55,7 @@ function showModal(encodedPath, pages, percentage, encodedeTitle, encodedEntryTi
$('#modal-edit-btn').attr('onclick', `edit("${entryID}")`);
$('#modal-download-btn').attr('href', `${base_url}opds/download/${titleID}/${entryID}`);
$('#modal-download-btn').attr('href', `${base_url}api/download/${titleID}/${entryID}`);
UIkit.modal($('#modal')).show();
}