File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -399,8 +399,7 @@ protected function buildFrankenphp(): void
399399 $ xcaddyModules = getenv ('SPC_CMD_VAR_FRANKENPHP_XCADDY_MODULES ' );
400400 $ frankenphpSourceDir = SOURCE_PATH . '/frankenphp ' ;
401401
402- $ xcaddyModules = preg_replace ('#--with github.com/dunglas/frankenphp(=\S+)?# ' , '' , $ xcaddyModules );
403- $ xcaddyModules = preg_replace ('#--with github.com/dunglas/frankenphp/caddy(=\S+)?# ' , '' , $ xcaddyModules );
402+ $ xcaddyModules = preg_replace ('#--with github.com/dunglas/frankenphp\S*# ' , '' , $ xcaddyModules );
404403 $ xcaddyModules = "--with github.com/dunglas/frankenphp= {$ frankenphpSourceDir } " .
405404 "--with github.com/dunglas/frankenphp/caddy= {$ frankenphpSourceDir }/caddy {$ xcaddyModules }" ;
406405 if ($ this ->getLib ('brotli ' ) === null && str_contains ($ xcaddyModules , '--with github.com/dunglas/caddy-cbrotli ' )) {
You can’t perform that action at this time.
0 commit comments