Skip to content

Commit

Permalink
Merge pull request #1504 from mitchkramez/bugfix-loopback-regex-fix
Browse files Browse the repository at this point in the history
Fixes bad regex for loopback replacement for Issue #1503
  • Loading branch information
mattstauffer authored Dec 10, 2024
2 parents 440bb12 + 2b9f494 commit ff4b767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/Valet/Site.php
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ public function replaceOldLoopbackWithNew(string $siteConf, string $old, string

$lookups = [];
$lookups[] = '~#?listen .*:80; # valet loopback~';
$lookups[] = '~#?listen .*:443 ssl http2; # valet loopback~';
$lookups[] = '~#?listen .*:443 ssl; # valet loopback~';
$lookups[] = '~#?listen .*:60; # valet loopback~';

foreach ($lookups as $lookup) {
Expand Down

0 comments on commit ff4b767

Please sign in to comment.