Commit 6d56a2d
fix(api): correct fileData max-length to 100MB and allow localhost in URL validation
Raise base64 @maxlength to 134_217_728 (~100MB binary) to match the
service's file-size policy. Set require_tld: false on @isurl so
http://localhost redirect URLs used in local/dev flows are not rejected.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8b3b39b commit 6d56a2d
2 files changed
Lines changed: 4 additions & 4 deletions
File tree
- apps/api/src
- attachments
- background-checks/dto
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
0 commit comments