Skip to content

Variable: DEFAULT_IMAGE_EXTENSIONS ​

ts
const DEFAULT_IMAGE_EXTENSIONS: string[];

Defined in: types/const.ts:223

Extensions accepted for image-only uploads (avatars, icons, banners).

These are the built-in defaults. An instance can override them via media.uploads.imageExtensions in app.config.yaml, or the MEDIA_IMAGE_EXTENSIONS environment variable.

Released under the GNU Affero General Public License v3.0.