mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Correct content type
This commit is contained in:
parent
a8b776c189
commit
761bdafa34
2 changed files with 3 additions and 1 deletions
|
@ -55,6 +55,7 @@ function profile_init(App $a)
|
|||
if (DBA::isResult($user)) {
|
||||
$data = ActivityPub::profile($user['uid']);
|
||||
echo json_encode($data);
|
||||
header('Content-Type: application/activity+json');
|
||||
exit();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue