mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
fix(fediverse): add index
to post controller-method to access post's jsonld contents
This commit is contained in:
parent
27a04bd0df
commit
35142d8e56
@ -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…
x
Reference in New Issue
Block a user