Update api routes, remove throttle middleware

This commit is contained in:
Daniel Supernault 2021-02-15 02:28:35 -07:00
parent 1b92f9f455
commit 85bd4847e4
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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