Skip to content

Commit b64bad5

Browse files
authored
Merge pull request #88 from lifesign/hotfix-first-domain-setting
fix scan certificates directory error when first change domain
2 parents 3f2ed29 + cd1c1c9 commit b64bad5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cli/Valet/Site.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ function pruneLinks()
9393
*/
9494
function resecureForNewDomain($oldDomain, $domain)
9595
{
96+
if (!$this->files->exists($this->certificatesPath())) {
97+
return;
98+
}
99+
96100
$secured = $this->secured();
97101

98102
foreach ($secured as $url) {

0 commit comments

Comments
 (0)