pass download

This commit is contained in:
j 2024-10-18 17:49:54 +01:00
parent 9e6ecb5459
commit 03daede441

View file

@ -125,7 +125,10 @@ const clickLink = function(event) {
} }
document.location.hash = '#' + link.slice(1) document.location.hash = '#' + link.slice(1)
} else { } else {
if (!link.startsWith('/m')) { if (link.includes('/download/')) {
document.location.href = link
return
} else if (!link.startsWith('/m')) {
link = '/m' + link link = '/m' + link
} }
history.pushState({}, '', link); history.pushState({}, '', link);