CODEX - Moved the upload binary to the Archetype

This commit is contained in:
2026-02-23 11:49:50 +02:00
parent be0b3a5a5a
commit 9195f143a2
4 changed files with 226 additions and 52 deletions

View File

@@ -556,6 +556,10 @@ export default function MelodyDetail() {
const handleDownload = async (e) => {
e.preventDefault();
if (binaryUrl.startsWith("http")) {
window.open(binaryUrl, "_blank", "noopener,noreferrer");
return;
}
try {
const token = localStorage.getItem("access_token");
let res = null;