variable MAX_IMAGE_SIZE_BYTES

Caps the size of an image upload, in bytes, for avatars, covers, thumbnails and attachments. lib/upload.ts states it in megabytes in its error.

Type

number

Usage

import { MAX_IMAGE_SIZE_BYTES } from "api/config.ts";