Hacker News new | past | comments | ask | show | jobs | submit login

> a max 1MB request payload size

How would that be a bad default, when it's probably more than sufficient for 99% of the use cases out there? It's even the same default as nginx: https://nginx.org/en/docs/http/ngx_http_core_module.html#cli...

Nest.js is clearly targeting JSON-based CRUD apps, and the defaults are pretty good. File uploads through JSON is not as simple a problem as you try to make it. Are you using bas64 encoding and embedding it in the JSON? Are you using multipart/form-data?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: