mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update api routes
This commit is contained in:
parent
016b11f301
commit
a1083511f0
1 changed files with 4 additions and 0 deletions
|
@ -109,6 +109,10 @@ Route::group(['prefix' => 'api'], function() use($middleware) {
|
||||||
Route::group(['prefix' => 'compose/v0'], function () use($middleware) {
|
Route::group(['prefix' => 'compose/v0'], function () use($middleware) {
|
||||||
Route::get('/search/location', 'ComposeController@searchLocation')->middleware($middleware);
|
Route::get('/search/location', 'ComposeController@searchLocation')->middleware($middleware);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Route::group(['prefix' => 'discover'], function () use($middleware) {
|
||||||
|
Route::get('accounts/popular', 'Api\ApiV1Controller@discoverAccountsPopular')->middleware($middleware);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::group(['prefix' => 'live'], function() use($middleware) {
|
Route::group(['prefix' => 'live'], function() use($middleware) {
|
||||||
|
|
Loading…
Reference in a new issue