mirror of https://github.com/pixelfed/pixelfed
Add api endpoint
parent
921be4287c
commit
b29527cf53
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'rate-limits' => [
|
||||
'v1Dot1' => [
|
||||
'accounts' => [
|
||||
'usernameToId' => [
|
||||
'enabled' => env('PF_API_RL_V1DOT1_ACCT_U2ID_ENABLED', true),
|
||||
'limit' => env('PF_API_RL_V1DOT1_ACCT_U2ID_LIMIT', 30),
|
||||
'decay' => env('PF_API_RL_V1DOT1_ACCT_U2ID_DECAY', 120),
|
||||
'ip_enabled' => env('PF_API_RL_V1DOT1_ACCT_U2ID_BY_IP_ENABLED', false),
|
||||
'ip_limit' => env('PF_API_RL_V1DOT1_ACCT_U2ID_BY_IP_LIMIT', 30),
|
||||
'ip_decay' => env('PF_API_RL_V1DOT1_ACCT_U2ID_BY_IP_DECAY', 120),
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
Loading…
Reference in New Issue