Skip to content

Commit 9cfd7e1

Browse files
authored
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.
1 parent d199af3 commit 9cfd7e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Illuminate/Foundation/Console/ServeCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class ServeCommand extends Command
5757
*/
5858
public static $passthroughVariables = [
5959
'APP_ENV',
60+
'IGNITION_LOCAL_SITES_PATH',
6061
'LARAVEL_SAIL',
6162
'PATH',
6263
'PHP_CLI_SERVER_WORKERS',

0 commit comments

Comments
 (0)