Update api routes, remove throttle middleware from inbox endpoint

This commit is contained in:
Daniel Supernault 2020-05-21 18:00:14 -06:00
parent 310b0e58a1
commit ba327ca8d6
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
2 changed files with 1 additions and 2 deletions

View file

@ -39,7 +39,6 @@ class Kernel extends HttpKernel
],
'api' => [
'throttle:60,1',
'bindings',
\Barryvdh\Cors\HandleCors::class,
],

View file

@ -2,7 +2,7 @@
use Illuminate\Http\Request;
$middleware = ['auth:api','twofactor','validemail','localization'];
$middleware = ['auth:api','twofactor','validemail','localization', 'throttle:60,1'];
Route::post('/users/{username}/inbox', 'FederationController@userInbox');