32e129c097d981b6094b1c844a691b94d32a0ec5
- POST handles both form-data (custom upload) and JSON (template copy) paths
- Copies seed PDF or writes uploaded file to uploads/clients/{clientId}/{uuid}.pdf
- Path traversal guard on destPath before writing
- GET streams PDF bytes with Content-Type: application/pdf
- Path traversal guard on filePath before reading
- Both routes return 401 for unauthenticated requests
Description
No description provided
Languages
TypeScript
97.5%
Shell
1.6%
Dockerfile
0.4%
JavaScript
0.3%
CSS
0.2%