Completed
Pull Request — master (#18)
by Manuel
09:02
created
app/Http/Middleware/RemoveChartsFromHttp2ServerPush.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         $this->response = $next($request);
20 20
 
21 21
         if ($this->shouldUseServerPush($request) && !$request->is('stats')) {
22
-            app('server-push')->resources = collect(app('server-push')->resources)->reject(function ($resource) {
22
+            app('server-push')->resources = collect(app('server-push')->resources)->reject(function($resource) {
23 23
                 return str_contains($resource['path'], '/js/charts.');
24 24
             })->toArray();
25 25
         }
Please login to merge, or discard this patch.