Update web routes

This commit is contained in:
Daniel Supernault 2019-11-24 16:08:56 -07:00
parent 4066232206
commit 9ab01881d2
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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