diff --git a/routes/web.php b/routes/web.php index bb56b69e6..e43f9cd4e 100644 --- a/routes/web.php +++ b/routes/web.php @@ -85,6 +85,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact Route::get('timelines/home', 'PublicApiController@homeTimelineApi'); }); Route::group(['prefix' => 'v2'], function() { + Route::get('config', 'ApiController@siteConfiguration'); Route::get('discover', 'InternalApiController@discover'); Route::get('discover/posts', 'InternalApiController@discoverPosts'); Route::get('profile/{username}/status/{postid}', 'PublicApiController@status'); @@ -97,7 +98,6 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact }); Route::group(['prefix' => 'local'], function () { Route::get('i/follow-suggestions', 'ApiController@followSuggestions'); - Route::post('i/more-comments', 'ApiController@loadMoreComments'); Route::post('status/compose', 'InternalApiController@compose'); }); });