mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 01:05:36 +00:00
Update web routes
This commit is contained in:
parent
3a281575e2
commit
82f365dc9a
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
||||||
Route::post('media', 'ApiController@uploadMedia')->middleware('throttle:250,1440');
|
Route::post('media', 'ApiController@uploadMedia')->middleware('throttle:250,1440');
|
||||||
});
|
});
|
||||||
Route::group(['prefix' => 'v2'], function() {
|
Route::group(['prefix' => 'v2'], function() {
|
||||||
|
Route::get('notifications', 'InternalApiController@notifications');
|
||||||
|
Route::get('discover', 'InternalApiController@discover');
|
||||||
});
|
});
|
||||||
Route::group(['prefix' => 'local'], function () {
|
Route::group(['prefix' => 'local'], function () {
|
||||||
Route::get('i/follow-suggestions', 'ApiController@followSuggestions');
|
Route::get('i/follow-suggestions', 'ApiController@followSuggestions');
|
||||||
|
|
Loading…
Reference in a new issue