mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-03 23:09:18 +02:00
fix(fediverse): add index to post controller-method to access post's jsonld contents
This commit is contained in:
parent
27a04bd0df
commit
35142d8e56
1 changed files with 3 additions and 3 deletions
|
|
@ -228,11 +228,11 @@ $routes->group('@(:podcastHandle)', static function ($routes): void {
|
|||
'alternate-content' => [
|
||||
'application/activity+json' => [
|
||||
'namespace' => 'Modules\Fediverse\Controllers',
|
||||
'controller-method' => 'PostController/$2',
|
||||
'controller-method' => 'PostController::index/$2',
|
||||
],
|
||||
'application/ld+json; profile="https://www.w3.org/ns/activitystreams' => [
|
||||
'namespace' => 'Modules\Fediverse\Controllers',
|
||||
'controller-method' => 'PostController/$2',
|
||||
'namespace' => 'Modules/Fediverse/Controllers',
|
||||
'controller-method' => 'PostController::index\$2',
|
||||
],
|
||||
],
|
||||
'filter' => 'allow-cors',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue