From 8da292bf9137312a97c036bf68a01813249daecd Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 19 Nov 2018 19:47:34 -0700 Subject: [PATCH] Update routes --- routes/api.php | 6 ------ routes/web.php | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/routes/api.php b/routes/api.php index e8e863ec0..852967954 100644 --- a/routes/api.php +++ b/routes/api.php @@ -12,9 +12,3 @@ use Illuminate\Http\Request; | is assigned the "api" middleware group. Enjoy building your API! | */ -Route::post('/users/{username}/inbox', 'FederationController@userInbox'); - -Route::group(['prefix' => 'api/v2'], function() { - Route::get('profile/{username}/status/{postid}', 'PublicApiController@status'); - Route::get('comments/{username}/status/{postId}', 'PublicApiController@statusComments'); -}); \ No newline at end of file diff --git a/routes/web.php b/routes/web.php index 0afaab294..c7baa739e 100644 --- a/routes/web.php +++ b/routes/web.php @@ -46,6 +46,8 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact Route::get('notifications', 'InternalApiController@notifications'); Route::post('notifications', 'InternalApiController@notificationMarkAllRead'); Route::get('discover', 'InternalApiController@discover'); + Route::get('profile/{username}/status/{postid}', 'PublicApiController@status'); + Route::get('comments/{username}/status/{postId}', 'PublicApiController@statusComments'); }); Route::group(['prefix' => 'local'], function () { Route::get('i/follow-suggestions', 'ApiController@followSuggestions');