mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 09:43:16 +00:00
commit
373c5ec691
2 changed files with 1 additions and 1 deletions
|
@ -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 a new issue