Skip to content

Commit 2b9f494

Browse files
author
Mitch Kramer
committed
Fixes bad regex for loopback replacement
1 parent c8970c1 commit 2b9f494

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)