Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Commit db10563

Browse files
authored
Update index.html
Signed-off-by: Blake Arnold <[email protected]>
1 parent 6635d60 commit db10563

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@
634634
return;
635635
}
636636
const data = JSON.stringify({ciphertext: ciphertext, number: num});
637-
const blob = new Blob([data], {type: 'application/json'});
637+
const blob = new Blob([data], {type: 'application/octet-stream'});
638638
const a = document.createElement('a');
639639
a.href = URL.createObjectURL(blob);
640640
a.download = "ciphertext.ciphertext";
@@ -645,7 +645,7 @@
645645
URL.revokeObjectURL(a.href);
646646
}, 100);
647647
});
648-
648+
649649
document.getElementById('uploadCipherInput').addEventListener('change', function(e) {
650650
const file = e.target.files[0];
651651
if (!file) return;

0 commit comments

Comments
 (0)