From 61b5d36ec2015d027891dedd42d471c1f0ec7b54 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Mon, 2 May 2022 11:50:21 +0200 Subject: [PATCH] Fix refresh during down --- src/Illuminate/Foundation/Console/stubs/maintenance-mode.stub | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Illuminate/Foundation/Console/stubs/maintenance-mode.stub b/src/Illuminate/Foundation/Console/stubs/maintenance-mode.stub index 283a4d3b2fd6..a90b8cde8aec 100644 --- a/src/Illuminate/Foundation/Console/stubs/maintenance-mode.stub +++ b/src/Illuminate/Foundation/Console/stubs/maintenance-mode.stub @@ -69,6 +69,10 @@ if (isset($data['retry'])) { header('Retry-After: '.$data['retry']); } +if (isset($data['refresh'])) { + header('Refresh: '.$data['refresh']); +} + echo $data['template']; exit;