diff --git a/routes/api.php b/routes/api.php index 58ccf895..7c3d5f3b 100644 --- a/routes/api.php +++ b/routes/api.php @@ -9,6 +9,7 @@ Route::post('/users/{username}/inbox', 'FederationController@userInbox'); Route::get('i/actor', 'InstanceActorController@profile'); Route::post('i/actor/inbox', 'InstanceActorController@inbox'); Route::get('i/actor/outbox', 'InstanceActorController@outbox'); +Route::get('/stories/{username}/{id}', 'StoryController@getActivityObject'); Route::group(['prefix' => 'api'], function() use($middleware) { diff --git a/routes/web.php b/routes/web.php index aa4c151d..4086f28d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -505,7 +505,6 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact Route::get('{username}', 'ProfileController@permalinkRedirect'); }); - Route::get('/stories/{username}/{id}', 'StoryController@getActivityObject'); Route::get('stories/{username}', 'ProfileController@stories'); Route::get('p/{id}', 'StatusController@shortcodeRedirect'); Route::get('c/{collection}', 'CollectionController@show');