Skip to content

Commit cf7911a

Browse files
committed
Properly replace VALET_HOME_PATH in secure Caddy files
Fixes #117
1 parent bf463da commit cf7911a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/Valet/Site.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ function buildSecureCaddyfile($url)
211211
$path = $this->certificatesPath();
212212

213213
return str_replace(
214-
['VALET_SITE', 'VALET_CERT', 'VALET_KEY'], [$url, $path.'/'.$url.'.crt', $path.'/'.$url.'.key'],
214+
['VALET_HOME_PATH', 'VALET_SITE', 'VALET_CERT', 'VALET_KEY'], [VALET_HOME_PATH, $url, $path.'/'.$url.'.crt', $path.'/'.$url.'.key'],
215215
$this->files->get(__DIR__.'/../stubs/SecureCaddyfile')
216216
);
217217
}

0 commit comments

Comments
 (0)