1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 16:24:29 +00:00

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');