1
0
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:
Gao Feng
2016-06-10 17:59:58 +08:00
parent 3f2ed290c2
commit cd1c1c9fd4

View File

@@ -93,6 +93,10 @@ function pruneLinks()
*/
function resecureForNewDomain($oldDomain, $domain)
{
if (!$this->files->exists($this->certificatesPath())) {
return;
}
$secured = $this->secured();
foreach ($secured as $url) {