Skip to content

Commit f5ecbd3

Browse files
author
ChristianHaase
committed
docs: update readme [skip ci]
1 parent 54e4eb8 commit f5ecbd3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ It's possible to configure the `FileValidator` through `appsettings.json`.
7070
7171
```json
7272
{
73-
"FileValidatorConfiguration": {
74-
"SupportedFileTypes": [ ".pdf", ".jpg", ".png" ],
75-
"FileSizeLimit": 26214400, // (25 MB) Prefer "FriendlyFileSizeLimit"
76-
"FriendlyFileSizeLimit": "25MB", // Preferred over "FileSizeLimit" (supports KB, MB, and GB)
77-
"ThrowExceptionOnInvalidFile": true
78-
}
73+
"FileValidatorConfiguration": {
74+
"SupportedFileTypes": [ ".pdf", ".jpg", ".png" ],
75+
"FileSizeLimit": 26214400,
76+
"FriendlyFileSizeLimit": "25MB",
77+
"ThrowExceptionOnInvalidFile": true
78+
}
7979
}
8080
```
8181

0 commit comments

Comments
 (0)