Telegram Web K with changes to work inside I2P
https://web.telegram.i2p/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
261 B
14 lines
261 B
![]()
3 years ago
|
import IS_WEBP_SUPPORTED from "./webpSupport";
|
||
|
|
||
|
const IMAGE_MIME_TYPES_SUPPORTED = new Set([
|
||
|
'image/jpeg',
|
||
|
'image/png',
|
||
|
'image/bmp'
|
||
|
]);
|
||
|
|
||
|
if(IS_WEBP_SUPPORTED) {
|
||
|
IMAGE_MIME_TYPES_SUPPORTED.add('image/webp');
|
||
|
}
|
||
|
|
||
|
export default IMAGE_MIME_TYPES_SUPPORTED;
|