forked from mirror/pixelfed
Update api routes
This commit is contained in:
parent
07f419d5cb
commit
1450f54f65
1 changed files with 4 additions and 1 deletions
|
@ -2,10 +2,13 @@
|
|||
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
$middleware = ['auth:api','twofactor','validemail','localization', 'throttle:60,1'];
|
||||
$middleware = ['auth:api','twofactor','validemail','throttle:60,1','interstitial'];
|
||||
|
||||
Route::post('/f/inbox', 'FederationController@sharedInbox');
|
||||
Route::post('/users/{username}/inbox', 'FederationController@userInbox');
|
||||
Route::get('i/actor', 'InstanceActorController@profile');
|
||||
Route::post('i/actor/inbox', 'InstanceActorController@inbox');
|
||||
Route::get('i/actor/outbox', 'InstanceActorController@outbox');
|
||||
|
||||
Route::group(['prefix' => 'api'], function() use($middleware) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue