mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-15 12:37:46 +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' => [
|
'alternate-content' => [
|
||||||
'application/activity+json' => [
|
'application/activity+json' => [
|
||||||
'namespace' => 'Modules\Fediverse\Controllers',
|
'namespace' => 'Modules\Fediverse\Controllers',
|
||||||
'controller-method' => 'PostController/$2',
|
'controller-method' => 'PostController::index/$2',
|
||||||
],
|
],
|
||||||
'application/ld+json; profile="https://www.w3.org/ns/activitystreams' => [
|
'application/ld+json; profile="https://www.w3.org/ns/activitystreams' => [
|
||||||
'namespace' => 'Modules\Fediverse\Controllers',
|
'namespace' => 'Modules/Fediverse/Controllers',
|
||||||
'controller-method' => 'PostController/$2',
|
'controller-method' => 'PostController::index\$2',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'filter' => 'allow-cors',
|
'filter' => 'allow-cors',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue