mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Lint
This commit is contained in:
parent
f4ef96e847
commit
ad30498dbc
1 changed files with 6 additions and 5 deletions
|
@ -92,6 +92,7 @@ class FederationController extends Controller
|
||||||
}
|
}
|
||||||
$webfinger = (new Webfinger($profile))->generate();
|
$webfinger = (new Webfinger($profile))->generate();
|
||||||
Cache::put($key, $webfinger, 1209600);
|
Cache::put($key, $webfinger, 1209600);
|
||||||
|
|
||||||
return response()->json($webfinger, 200, [], JSON_UNESCAPED_SLASHES)
|
return response()->json($webfinger, 200, [], JSON_UNESCAPED_SLASHES)
|
||||||
->header('Access-Control-Allow-Origin', '*');
|
->header('Access-Control-Allow-Origin', '*');
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue