From 21fe2fd1cb7ae21a2105725d0bc5b2934bb0078b Mon Sep 17 00:00:00 2001 From: Ryan Bruels Date: Sat, 22 Feb 2025 17:58:31 +0000 Subject: [PATCH] Make download URL relative ('./') vs absolute from root ('/') --- static/download.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/download.html b/static/download.html index 2e97717..29cc447 100644 --- a/static/download.html +++ b/static/download.html @@ -82,7 +82,7 @@

Send to Kobo/Kindle

if (data.file) { downloads.style.display = 'block' downloadlink.textContent = data.file.name - downloadlink.href = '/' + encodeURIComponent(data.file.name) + "?key=" + key + downloadlink.href = './' + encodeURIComponent(data.file.name) + "?key=" + key } else { downloads.style.display = 'none' }