Update FederationController

This commit is contained in:
Daniel Supernault 2018-12-16 22:38:43 -07:00
parent 4bf856330e
commit 1ba17b2bc4
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -14,6 +14,7 @@ use Carbon\Carbon;
use Illuminate\Http\Request;
use League\Fractal;
use App\Util\ActivityPub\Helpers;
use App\Util\ActivityPub\HttpSignature;
class FederationController extends Controller
{
@ -113,7 +114,9 @@ class FederationController extends Controller
];
});
return response()->json($res, 200, [], JSON_PRETTY_PRINT);
return response()->json($res, 200, [
'Access-Control-Allow-Origin' => '*'
]);
}
public function webfinger(Request $request)