You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,17 +59,17 @@ TARGET_FORMATS=jpg,webp,avif
59
59
60
60
### Config values description
61
61
62
-
| Configuration key | Default value | Description |
63
-
| ----------- | --------- | ----------- |
64
-
| API_KEY || Api key for upload images. If not set application throw error. |
65
-
| API_KEY_HEADER || Header name for an API key in the request. If not set application throw error. |
66
-
| CONVERT_TO_RES | 1024x720,800x600 | List of resolutions to which images will be converted. |
67
-
| TARGET_FORMATS | jpg | List of target image formats. Current supported is `jpg`,`webp`,`avif`|
68
-
| MAX_FILE_SIZE | 10 | Maximum size of the file sent to the application in megabytes. |
69
-
| CACHE_CONTROL_HEADER | max-age=180, public | Sets HTTP header `Cache-Control` for control caching in browsers. [More information](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control)|
70
-
| AVIF_QUALITY | 70.0 | Quality `1..=100`. Panics if out of range. |
71
-
| AVIF_SPEED | 6 | 1 = very very slow, but max compression.<br>10 = quick, but larger file sizes and lower quality.<br><br>Panics if outside `1..=10`. |
72
-
| CACHE_TIME | 30 | Image cache lifetime set in minutes. **(Not implemented yet)**|
62
+
| Configuration key |Required |Default value | Description |
63
+
| ----------- | ----| --------- | ----------- |
64
+
| API_KEY |Yes || Api key for upload images. If not set application throw error. |
65
+
| API_KEY_HEADER |Yes || Header name for an API key in the request. If not set application throw error. |
66
+
| CONVERT_TO_RES |No |1024x720,800x600 | List of resolutions to which images will be converted. |
67
+
| TARGET_FORMATS |No |jpg | List of target image formats. Current supported is `jpg`,`webp`,`avif`|
68
+
| MAX_FILE_SIZE |No |10 | Maximum size of the file sent to the application in megabytes. |
69
+
| CACHE_CONTROL_HEADER |No |max-age=180, public | Sets HTTP header `Cache-Control` for control caching in browsers. [More information](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control)|
70
+
| AVIF_QUALITY |No |70.0 | Quality `1..=100`. Panics if out of range. |
71
+
| AVIF_SPEED |No |6 | 1 = very very slow, but max compression.<br>10 = quick, but larger file sizes and lower quality.<br><br>Panics if outside `1..=10`. |
72
+
| CACHE_TIME |No |30 | Image cache lifetime set in minutes. **(Not implemented yet)**|
0 commit comments