webp image support

This commit is contained in:
Stefan Hardegger
2026-07-21 08:29:35 +02:00
parent 6bcd2354dc
commit 78c3f1be19
4 changed files with 4 additions and 4 deletions

View File

@@ -209,7 +209,7 @@ export default function CollectionForm({
<input
id="coverImage"
type="file"
accept="image/jpeg,image/png"
accept="image/jpeg,image/png,image/webp"
onChange={handleCoverImageChange}
className="w-full px-3 py-2 border theme-border rounded-lg theme-card theme-text focus:outline-none focus:ring-2 focus:ring-theme-accent"
/>