From ae8f688770be72d39623105bd417637d41563a7b Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 26 Sep 2019 18:34:29 -0600 Subject: [PATCH] Update web routes --- routes/web.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/web.php b/routes/web.php index 6537a642..f3f31a9f 100644 --- a/routes/web.php +++ b/routes/web.php @@ -116,7 +116,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact Route::post('accounts/{id}/unmute', 'Api\ApiV1Controller@accountUnmuteById')->middleware('auth:api'); Route::get('notifications', 'Api\ApiV1Controller@accountNotifications')->middleware('auth:api'); - Route::get('timelines/home', 'Api\ApiV1Controller@timelineHome'); + Route::get('timelines/home', 'Api\ApiV1Controller@timelineHome')->middleware('auth:api'); // Route::get('likes', 'ApiController@hydrateLikes'); // Route::post('media', 'ApiController@uploadMedia')->middleware('auth:api'); @@ -124,7 +124,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact // Route::get('notifications', 'ApiController@notifications')->middleware('auth:api'); // Route::get('timelines/public', 'PublicApiController@publicTimelineApi'); // Route::post('status', 'Api\ApiV1Controller@createStatus')->middleware('auth:api'); - Route::get('accounts/{id}', 'Api\ApiV1Controller@accountById'); + Route::get('accounts/{id}', 'Api\ApiV1Controller@accountById')->middleware('auth:api'); }); Route::group(['prefix' => 'v2'], function() { Route::get('config', 'ApiController@siteConfiguration');