Skip to content

Commit

Permalink
fix: Too few arguments to function fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CS76 committed Jan 4, 2024
1 parent 2d22729 commit c8f4790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Middleware/XFrameOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function handle(Request $request, Closure $next): Response
$response = $next($request);

if ($request->route()->getName() == 'embed') {
$response->header("Content-Security-Policy', 'default-src 'self'; base-uri 'self'; block-all-mixed-content; frame-src data: blob: *; img-src 'self'; style-src 'unsafe-inline' *;");
$response->header('Content-Security-Policy', "default-src 'self'; base-uri 'self'; block-all-mixed-content; frame-src data: blob: *; img-src 'self'; style-src 'unsafe-inline' *;");
}

return $response;
Expand Down

0 comments on commit c8f4790

Please sign in to comment.