mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-21 06:32:14 +01:00
move api rate limit to app config, add fallback for empty env key
This commit is contained in:
@@ -8,8 +8,4 @@ return [
|
||||
'basic_auth_username' => env('GOTENBERG_BASIC_AUTH_USERNAME'),
|
||||
'basic_auth_password' => env('GOTENBERG_BASIC_AUTH_PASSWORD'),
|
||||
],
|
||||
'api' => [
|
||||
'authenticated' => (int) env('API_RATE_LIMIT_AUTH_PER_MINUTE', 200),
|
||||
'guest' => (int) env('API_RATE_LIMIT_GUEST_PER_MINUTE', 60),
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user