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

Update api routes

This commit is contained in:
Daniel Supernault 2022-08-23 21:49:05 -06:00
parent 016b11f301
commit a1083511f0
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -109,6 +109,10 @@ Route::group(['prefix' => 'api'], function() use($middleware) {
Route::group(['prefix' => 'compose/v0'], function () use($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) {