mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 14:32:03 +00:00
7 lines
289 B
TypeScript
7 lines
289 B
TypeScript
/**
|
|
* Upper bound for the paste textareas, mirroring the 16 MB server-side body
|
|
* ceiling on `/api/import` and `/api/import/csv`. Caps an accidental over-paste
|
|
* before it ever reaches the route and feeds the live character counter.
|
|
*/
|
|
export const MAX_PASTE_CHARS = 16 * 1024 * 1024;
|