mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 08:40:09 +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()))
|
return collect($this->files->scandir($this->certificatesPath()))
|
||||||
->map(function ($file) {
|
->map(function ($file) {
|
||||||
return str_replace(['.key', '.csr', '.crt'], '', $file);
|
return str_replace(['.key', '.csr', '.crt', '.conf'], '', $file);
|
||||||
})->unique()->values()->all();
|
})->unique()->values()->all();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user