1
0
Fork 0
forked from mirror/pixelfed

Fix story object route

This commit is contained in:
Daniel Supernault 2021-09-03 23:57:07 -06:00
parent 6b9197cca6
commit 4c662ff55c
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
2 changed files with 1 additions and 1 deletions

View file

@ -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) {

View file

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