Update web routes

This commit is contained in:
Daniel Supernault 2018-10-22 19:41:51 -06:00
parent 1357640b6d
commit 499ea8b23b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -39,10 +39,12 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::group(['prefix' => 'v1'], function () {
Route::post('avatar/update', 'ApiController@avatarUpdate');
Route::get('likes', 'ApiController@hydrateLikes');
Route::post('media', 'ApiController@uploadMedia')->middleware('throttle:250,1440');
});
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')->middleware('throttle:250,1440');
});
});