Support webp (#69, nice)

This commit is contained in:
Alex Ling
2020-06-15 12:35:44 +00:00
parent 4c2cf64f53
commit dc084aff7c
3 changed files with 6 additions and 4 deletions

View File

@@ -72,7 +72,7 @@
<span uk-icon="icon: cloud-upload"></span>
<span class="uk-text-middle">Upload a cover image by dropping it here or</span>
<div uk-form-custom>
<input type="file" accept="image/jpeg, image/png">
<input type="file" accept="<%= SUPPORTED_IMG_TYPES.join ", " %>">
<span class="uk-link">selecting one</span>
</div>
</div>