1
0
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:
Josh Larson
2017-03-23 16:59:36 -05:00
committed by Adam Wathan
parent 3aac3e2477
commit 79d916d499

View File

@@ -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();
}