Update web routes

This commit is contained in:
Daniel Supernault 2019-06-01 15:28:37 -06:00
parent ffaa349045
commit f9cb2b920c
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -96,6 +96,8 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::post('moderator/action', 'InternalApiController@modAction'); Route::post('moderator/action', 'InternalApiController@modAction');
Route::get('discover/categories', 'InternalApiController@discoverCategories'); Route::get('discover/categories', 'InternalApiController@discoverCategories');
Route::post('status/compose', 'InternalApiController@composePost'); Route::post('status/compose', 'InternalApiController@composePost');
Route::get('loops', 'ApiController@loops');
Route::post('loops/watch', 'ApiController@loopWatch');
}); });
Route::group(['prefix' => 'local'], function () { Route::group(['prefix' => 'local'], function () {
Route::get('i/follow-suggestions', 'ApiController@followSuggestions'); Route::get('i/follow-suggestions', 'ApiController@followSuggestions');