Skip to content

Commit 117a937

Browse files
Update Site.php
1 parent 06fc109 commit 117a937

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
@@ -85,7 +85,7 @@ function getCertificates($path)
8585
return collect($this->files->scanDir($path))->filter(function ($value, $key) {
8686
return ends_with($value, '.crt');
8787
})->map(function ($cert) {
88-
return substr($cert, 0, strripos($cert, '.', -4));
88+
return substr($cert, 0, strripos($cert, '.', -5));
8989
})->flip();
9090
}
9191

0 commit comments

Comments
 (0)