diff --git a/public/views/control.js b/public/views/control.js index bcc8284..3e532fc 100644 --- a/public/views/control.js +++ b/public/views/control.js @@ -178,7 +178,7 @@ async function renderReleases(panel) { if (!fileInput.files?.[0]) return notify(upMsg, 'pick a tarball first', false); if (!verInput.value.trim()) return notify(upMsg, 'version required', false); const fd = new FormData(); - fd.append('release', fileInput.files[0]); + fd.append('file', fileInput.files[0]); fd.append('version', verInput.value.trim()); fd.append('notes', notesInput.value); notify(upMsg, 'uploading…', true);