Extracted some pages to their own assembly and finished the artifact display page code

This commit is contained in:
Vincent Allen
2025-10-08 13:08:12 -04:00
parent fd0e6290fe
commit 02c2660b09
626 changed files with 39989 additions and 1553 deletions

View File

@@ -0,0 +1,12 @@
function downloadFileFromBytes(fileName, mimeType, bytesBase64) {
const link = document.createElement('a');
link.href = `data:${mimeType};base64,${bytesBase64}`;
link.download = fileName;
// This is required for Firefox
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
}