Something went wrong. Try again.
A free, open-source, self-hosted place to write a novel.
Something went wrong. Try again.
1234567891011export const MAX_IMPORT_BYTES = 100 * 1024 * 1024;export const MAX_MANUSCRIPT_BYTES = 128 * 1024 * 1024;
/** * What the pictures in one archive may expand to. Pictures are already compressed, * so a zip barely shrinks them and an honest archive holds about as many image * bytes as its own size — which `MAX_IMPORT_BYTES` already caps. A file that * declares far more than that is inflating cheaply to spend CPU and disk here. */export const MAX_ARCHIVE_IMAGE_BYTES = MAX_IMPORT_BYTES;