mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update routes
This commit is contained in:
parent
4ca5a9e742
commit
31f7957d30
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ Route::domain(config('pixelfed.domain.app'))->group(function() {
|
||||||
Route::get('search/{tag}', 'SearchController@searchAPI')
|
Route::get('search/{tag}', 'SearchController@searchAPI')
|
||||||
->where('tag', '[A-Za-z0-9]+');
|
->where('tag', '[A-Za-z0-9]+');
|
||||||
Route::get('nodeinfo/2.0.json', 'FederationController@nodeinfo');
|
Route::get('nodeinfo/2.0.json', 'FederationController@nodeinfo');
|
||||||
|
Route::get('v1/likes', 'ApiController@hydrateLikes');
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::get('discover/tags/{hashtag}', 'DiscoverController@showTags');
|
Route::get('discover/tags/{hashtag}', 'DiscoverController@showTags');
|
||||||
|
|
Loading…
Reference in a new issue