mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 08:40:09 +01:00
Update Site.php
This commit is contained in:
@@ -85,7 +85,7 @@ function getCertificates($path)
|
||||
return collect($this->files->scanDir($path))->filter(function ($value, $key) {
|
||||
return ends_with($value, '.crt');
|
||||
})->map(function ($cert) {
|
||||
return substr($cert, 0, strripos($cert, '.', -4));
|
||||
return substr($cert, 0, strripos($cert, '.', -5));
|
||||
})->flip();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user