From d184da861129ed170f1234d90632a037164a1020 Mon Sep 17 00:00:00 2001 From: Ivan Nieto Vivanco Date: Fri, 8 Oct 2021 13:39:49 -0500 Subject: [PATCH] Fixed typo (thanks @ssddanbrown) --- app/Http/Middleware/PreventBackHistory.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Middleware/PreventBackHistory.php b/app/Http/Middleware/PreventBackHistory.php index ccba254149..8533965b4f 100644 --- a/app/Http/Middleware/PreventBackHistory.php +++ b/app/Http/Middleware/PreventBackHistory.php @@ -16,9 +16,9 @@ class PreventBackHistory public function handle($request, Closure $next) { $headers = [ - 'Cache-Control' => 'nocache, no-store, max-age=0, must-revalidate', - 'Pragma' => 'no-cache', - 'Expires' => 'Sun, 02 Jan 1990 00:00:00 GMT' + 'Cache-Control' => 'no-cache, no-store, max-age=0, must-revalidate', + 'Pragma' => 'no-cache', + 'Expires' => 'Sun, 02 Jan 1990 00:00:00 GMT' ]; $response = $next($request); foreach($headers as $key => $value) {