Update routes

This commit is contained in:
Daniel Supernault 2018-06-03 19:39:49 -06:00
parent 4ca5a9e742
commit 31f7957d30
1 changed files with 1 additions and 0 deletions

View File

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