mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 00:40:06 +01:00
fix scan certificates directory error when first change domain
This commit is contained in:
@@ -93,6 +93,10 @@ function pruneLinks()
|
||||
*/
|
||||
function resecureForNewDomain($oldDomain, $domain)
|
||||
{
|
||||
if (!$this->files->exists($this->certificatesPath())) {
|
||||
return;
|
||||
}
|
||||
|
||||
$secured = $this->secured();
|
||||
|
||||
foreach ($secured as $url) {
|
||||
|
||||
Reference in New Issue
Block a user