mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 01:05:36 +00:00
Update FederationController
This commit is contained in:
parent
6b798954e4
commit
05745d2fb3
1 changed files with 5 additions and 3 deletions
|
@ -167,9 +167,11 @@ XML;
|
|||
|
||||
public function userInbox(Request $request, $username)
|
||||
{
|
||||
if (config('pixelfed.activitypub_enabled') == false) {
|
||||
abort(403);
|
||||
}
|
||||
// if (config('pixelfed.activitypub_enabled') == false || config('pixelfed.ap_inbox') == false) {
|
||||
// abort(403, 'Inbox support disabled');
|
||||
// }
|
||||
return;
|
||||
|
||||
$type = [
|
||||
'application/activity+json'
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue