From 9cfd7e159abd7cae2d21f158cb2770032c3ee9d0 Mon Sep 17 00:00:00 2001 From: Niclas Date: Mon, 24 Apr 2023 15:25:43 +0200 Subject: [PATCH] Pass through IGNITION_LOCAL_SITES_PATH environment variable when serving (#46857) Enables correct link generation for opening files from the error page when running inside docker. --- src/Illuminate/Foundation/Console/ServeCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Illuminate/Foundation/Console/ServeCommand.php b/src/Illuminate/Foundation/Console/ServeCommand.php index b966291f3ab0..84bcb05312a7 100644 --- a/src/Illuminate/Foundation/Console/ServeCommand.php +++ b/src/Illuminate/Foundation/Console/ServeCommand.php @@ -57,6 +57,7 @@ class ServeCommand extends Command */ public static $passthroughVariables = [ 'APP_ENV', + 'IGNITION_LOCAL_SITES_PATH', 'LARAVEL_SAIL', 'PATH', 'PHP_CLI_SERVER_WORKERS',