mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update web routes
This commit is contained in:
parent
4066232206
commit
9ab01881d2
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,8 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
||||||
Route::redirect('discover/personal', '/discover');
|
Route::redirect('discover/personal', '/discover');
|
||||||
Route::get('discover', 'DiscoverController@home')->name('discover');
|
Route::get('discover', 'DiscoverController@home')->name('discover');
|
||||||
Route::get('discover/loops', 'DiscoverController@showLoops');
|
Route::get('discover/loops', 'DiscoverController@showLoops');
|
||||||
|
Route::get('discover/profiles', 'DiscoverController@profilesDirectory')->name('discover.profiles');
|
||||||
|
|
||||||
|
|
||||||
Route::group(['prefix' => 'api'], function () {
|
Route::group(['prefix' => 'api'], function () {
|
||||||
Route::get('search', 'SearchController@searchAPI');
|
Route::get('search', 'SearchController@searchAPI');
|
||||||
|
|
Loading…
Reference in a new issue