Skip to content

Commit 347a300

Browse files
authored
[Bug] missed a dash in allow from (alexjustesen#899)
1 parent b12e944 commit 347a300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Middleware/FrameAllowOptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function handle(Request $request, Closure $next): Response
1818
$response = $next($request);
1919

2020
if (! blank(config('speedtest.allow_embeds'))) {
21-
$response->header('X-Frame-Options', 'ALLOW FROM '.config('speedtest.allow_embeds'));
21+
$response->header('X-Frame-Options', 'ALLOW-FROM '.config('speedtest.allow_embeds'));
2222
}
2323

2424
return $response;

0 commit comments

Comments
 (0)