feat: accept any audio/video upload, server converts to 6s compressed MP3
Deploy / build-and-deploy (push) Successful in 1m44s

This commit is contained in:
2026-06-15 03:25:44 +03:00
parent 6a4be6b939
commit 3f41d7699c
5 changed files with 54 additions and 57 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ export function ItemEditor({ campaign }: { campaign: Campaign }) {
<input
ref={fileInputRef}
type="file"
accept=".ogg"
accept="audio/*,video/*"
className="hidden"
onChange={e => { const f = e.target.files?.[0]; if (f) uploadSound(f); }}
/>