We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b3a4db commit b8d312bCopy full SHA for b8d312b
config/image-transform-url.php
@@ -95,14 +95,15 @@
95
| new transformation by the path and IP address. It is recommended to
96
| set this to a low value, e.g. 2 requests per minute, to prevent
97
| abuse.
98
+ |
99
*/
100
101
'rate_limit' => [
102
'enabled' => env('IMAGE_TRANSFORM_RATE_LIMIT_ENABLED', true),
- 'disabled_for_environments' => [
103
+ 'disabled_for_environments' => env('IMAGE_TRANSFORM_RATE_LIMIT_DISABLED_FOR_ENVIRONMENTS', [
104
'local',
105
'testing',
- ],
106
+ ]),
107
'max_attempts' => env('IMAGE_TRANSFORM_RATE_LIMIT_MAX_REQUESTS', 2),
108
'decay_seconds' => env('IMAGE_TRANSFORM_RATE_LIMIT_DECAY_SECONDS', 60),
109
],
0 commit comments