diff --git a/app/Http/Controllers/StatusController.php b/app/Http/Controllers/StatusController.php index 8014ed53..5296cf0a 100644 --- a/app/Http/Controllers/StatusController.php +++ b/app/Http/Controllers/StatusController.php @@ -95,7 +95,7 @@ class StatusController extends Controller $showCaption = $request->filled('caption') && $request->caption !== false; $layout = $request->filled('layout') && $request->layout == 'compact' ? 'compact' : 'full'; $content = view('status.embed', compact('status', 'showLikes', 'showCaption', 'layout')); - return response($content)->header('X-Frame-Options', 'ALLOWALL'); + return response($content)->withHeaders(['x-frame-options' => 'ALLOWALL']); } public function showObject(Request $request, $username, int $id)