1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 16:40:05 +01:00

Resecure TLS sites with configured domain, not dev

This commit is contained in:
Adam Wathan
2016-08-18 18:57:17 -04:00
parent 7b9115b1d2
commit 4fe39532bf

View File

@@ -79,7 +79,7 @@ function installCaddyDirectory()
function rewriteSecureCaddyFiles()
{
$domain = $this->configuration->read()['domain'];
$this->site->resecureForNewDomain('dev', 'dev');
$this->site->resecureForNewDomain($domain, $domain);
}
/**