Skip to content

Commit ff4b767

Browse files
authored
Merge pull request #1504 from mitchkramez/bugfix-loopback-regex-fix
Fixes bad regex for loopback replacement for Issue #1503
2 parents 440bb12 + 2b9f494 commit ff4b767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/Valet/Site.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ public function replaceOldLoopbackWithNew(string $siteConf, string $old, string
398398

399399
$lookups = [];
400400
$lookups[] = '~#?listen .*:80; # valet loopback~';
401-
$lookups[] = '~#?listen .*:443 ssl http2; # valet loopback~';
401+
$lookups[] = '~#?listen .*:443 ssl; # valet loopback~';
402402
$lookups[] = '~#?listen .*:60; # valet loopback~';
403403

404404
foreach ($lookups as $lookup) {

0 commit comments

Comments
 (0)