From cbd755082eaaec8db1a923bead1153296284cc31 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 3 Nov 2021 23:47:00 -0600 Subject: [PATCH] Update api routes --- routes/api.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/routes/api.php b/routes/api.php index cbf2b85a..02dd6506 100644 --- a/routes/api.php +++ b/routes/api.php @@ -2,7 +2,7 @@ use Illuminate\Http\Request; -$middleware = ['auth:api','twofactor','validemail']; +$middleware = ['auth:api','validemail']; Route::post('/f/inbox', 'FederationController@sharedInbox'); Route::post('/users/{username}/inbox', 'FederationController@userInbox'); @@ -77,7 +77,6 @@ Route::group(['prefix' => 'api'], function() use($middleware) { Route::get('statuses/{id}', 'Api\ApiV1Controller@statusById')->middleware($middleware); Route::post('statuses', 'Api\ApiV1Controller@statusCreate')->middleware($middleware); - Route::get('timelines/home', 'Api\ApiV1Controller@timelineHome')->middleware($middleware); Route::get('timelines/public', 'Api\ApiV1Controller@timelinePublic')->middleware($middleware); Route::get('timelines/tag/{hashtag}', 'Api\ApiV1Controller@timelineHashtag');