forked from mirror/pixelfed
commit
373c5ec691
|
@ -9,6 +9,7 @@ Route::post('/users/{username}/inbox', 'FederationController@userInbox');
|
||||||
Route::get('i/actor', 'InstanceActorController@profile');
|
Route::get('i/actor', 'InstanceActorController@profile');
|
||||||
Route::post('i/actor/inbox', 'InstanceActorController@inbox');
|
Route::post('i/actor/inbox', 'InstanceActorController@inbox');
|
||||||
Route::get('i/actor/outbox', 'InstanceActorController@outbox');
|
Route::get('i/actor/outbox', 'InstanceActorController@outbox');
|
||||||
|
Route::get('/stories/{username}/{id}', 'StoryController@getActivityObject');
|
||||||
|
|
||||||
Route::group(['prefix' => 'api'], function() use($middleware) {
|
Route::group(['prefix' => 'api'], function() use($middleware) {
|
||||||
|
|
||||||
|
|
|
@ -505,7 +505,6 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
||||||
Route::get('{username}', 'ProfileController@permalinkRedirect');
|
Route::get('{username}', 'ProfileController@permalinkRedirect');
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::get('/stories/{username}/{id}', 'StoryController@getActivityObject');
|
|
||||||
Route::get('stories/{username}', 'ProfileController@stories');
|
Route::get('stories/{username}', 'ProfileController@stories');
|
||||||
Route::get('p/{id}', 'StatusController@shortcodeRedirect');
|
Route::get('p/{id}', 'StatusController@shortcodeRedirect');
|
||||||
Route::get('c/{collection}', 'CollectionController@show');
|
Route::get('c/{collection}', 'CollectionController@show');
|
||||||
|
|
Loading…
Reference in New Issue