アクセス許可管理

This commit is contained in:
2025-12-29 15:53:34 +09:00
parent decf69e8b4
commit 8c76fe2733
14 changed files with 127 additions and 12 deletions

View File

@@ -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;