アクセス許可管理
This commit is contained in:
@@ -86,7 +86,7 @@ class Fediverse extends BlogPost {
|
||||
|
||||
try {
|
||||
header('Content-Type: application/activity+json');
|
||||
$posts = $this->getPosts('/blog/');
|
||||
$posts = $this->getPosts('/blog/', null);
|
||||
$ap = new Activitypub($posts);
|
||||
echo $ap->getActivity($uuid);
|
||||
exit;
|
||||
@@ -104,7 +104,7 @@ class Fediverse extends BlogPost {
|
||||
public function apoutbox(array $params): void {
|
||||
try {
|
||||
header('Content-Type: application/activity+json');
|
||||
$posts = $this->getPosts('/blog/');
|
||||
$posts = $this->getPosts('/blog/', null);
|
||||
$ap = new Activitypub($posts);
|
||||
echo $ap->getOutbox();
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user