Update web routes

This commit is contained in:
Daniel Supernault 2018-11-09 00:00:44 -07:00
parent 3a281575e2
commit 82f365dc9a
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -43,6 +43,8 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::post('media', 'ApiController@uploadMedia')->middleware('throttle:250,1440');
});
Route::group(['prefix' => 'v2'], function() {
Route::get('notifications', 'InternalApiController@notifications');
Route::get('discover', 'InternalApiController@discover');
});
Route::group(['prefix' => 'local'], function () {
Route::get('i/follow-suggestions', 'ApiController@followSuggestions');