Update web routes

This commit is contained in:
Daniel Supernault 2019-08-05 21:21:32 -06:00
parent 74a719bdfd
commit 110ec5cfcf
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -108,7 +108,6 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::get('discover/tag', 'DiscoverController@getHashtags');
});
Route::group(['prefix' => 'local'], function () {
Route::get('i/follow-suggestions', 'ApiController@followSuggestions');
Route::post('status/compose', 'InternalApiController@compose')->middleware('throttle:maxPostsPerHour,60')->middleware('throttle:maxPostsPerDay,1440');
Route::get('exp/rec', 'ApiController@userRecommendations');
Route::post('discover/tag/subscribe', 'HashtagFollowController@store')->middleware('throttle:maxHashtagFollowsPerHour,60')->middleware('throttle:maxHashtagFollowsPerDay,1440');;
@ -176,6 +175,8 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
});
Route::get('collections/create', 'CollectionController@create');
Route::get('me', 'ProfileController@meRedirect');
});
Route::group(['prefix' => 'account'], function () {