fix: disable extensions that cannot be used as emojis

This commit is contained in:
Linca 2024-04-22 00:31:38 +00:00
parent 1dfc7c443b
commit a52340fa53

View file

@ -24,9 +24,9 @@ const acceptableExtensions = [
".png", ".png",
".webp", ".webp",
".bmp", ".bmp",
".tiff", // ".tiff", // Cannot be used as emoji
// ".svg", // Disable for secure issues // ".svg", // Disable for secure issues
".psd", // ".psd", // Cannot be used as emoji
]; ];
// TODO: 名前衝突時の動作を選べるようにする // TODO: 名前衝突時の動作を選べるようにする