Page MenuHomePhorge

D4082.id11699.diff
No OneTemporary

D4082.id11699.diff

diff --git a/src/app/Http/Middleware/ContentSecurityPolicy.php b/src/app/Http/Middleware/ContentSecurityPolicy.php
--- a/src/app/Http/Middleware/ContentSecurityPolicy.php
+++ b/src/app/Http/Middleware/ContentSecurityPolicy.php
@@ -21,6 +21,11 @@
'xfo' => 'X-Frame-Options',
];
+ //Exclude horizon routes, per https://github.com/laravel/horizon/issues/576
+ if ($request->is('horizon*')) {
+ $headers = [];
+ }
+
$next = $next($request);
foreach ($headers as $opt => $header) {

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 31, 1:49 AM (13 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10070352
Default Alt Text
D4082.id11699.diff (554 B)

Event Timeline