mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 16:40:05 +01:00
Filter out .conf files when creating secure URL list
This commit is contained in:
@@ -168,7 +168,7 @@ function secured()
|
||||
{
|
||||
return collect($this->files->scandir($this->certificatesPath()))
|
||||
->map(function ($file) {
|
||||
return str_replace(['.key', '.csr', '.crt'], '', $file);
|
||||
return str_replace(['.key', '.csr', '.crt', '.conf'], '', $file);
|
||||
})->unique()->values()->all();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user