fix: disallow invalid video file types

This commit is contained in:
sethburkart123
2024-10-27 22:15:53 +11:00
parent bf1f7bfb3b
commit 8b672f3e67
@@ -19,7 +19,7 @@
</div>
<input
type="file"
accept="image/*, video/*"
accept="image/*, video/mp4"
on:change={handleFileChange}
class="absolute inset-0 w-full h-full opacity-0 cursor-pointer"
/>