cinny/src
Stefano Pigozzi 9a34daa2bc
Set accept attribute to image/* in ImageUpload ()
That way, browsers will suggest to the users to upload an image file instead of any kind of file.

The behaviour is in-line with Element's, which specifies the same attribute when selecting an avatar.

Please note that it does not prevent users from uploading non-image files as avatars, as browsers interpret that attribute as a mere suggestion, which can be bypassed in the file select dialog.

Partially fixes .
2023-01-15 09:44:16 +05:30
..
app Set accept attribute to image/* in ImageUpload () 2023-01-15 09:44:16 +05:30
client Replace Webpack to Vite () 2022-12-20 20:47:51 +05:30
util Add jsdelivr cdn for twemoji 2023-01-14 18:51:42 +05:30
font.js Use font as npm module 2022-02-21 21:29:17 +05:30
index.jsx Replace Webpack to Vite () 2022-12-20 20:47:51 +05:30
index.scss Open image in lightbox () 2022-08-19 12:15:22 +05:30