Skip to content

Commit 19d188d

Browse files
committed
Fix download for new structure with generated files in own subdir.
1 parent 39e9d9d commit 19d188d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

layouts/partials/download.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
function downloadFile() {
3434
const fileType = document.getElementById('fileType').value;
35-
window.location.href = fileType;
36-
window.location.download = fileType;
35+
window.location.href = "generated/"+fileType;
36+
window.location.download = "generated/"+fileType;
3737
}
38-
</script>
38+
</script>

0 commit comments

Comments
 (0)