Update StatusController

pull/1830/head
Daniel Supernault 5 years ago
parent cdff55313a
commit 6c97b2162c
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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)

Loading…
Cancel
Save