mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 00:20:08 +01:00
🐛 Ensure loopback alias and launch daemon file exist after re-installation.
This commit is contained in:
@@ -150,6 +150,10 @@ function rewriteSecureNginxFiles()
|
|||||||
$tld = $this->configuration->read()['tld'];
|
$tld = $this->configuration->read()['tld'];
|
||||||
$loopback = $this->configuration->read()['loopback'];
|
$loopback = $this->configuration->read()['loopback'];
|
||||||
|
|
||||||
|
if ($loopback !== VALET_LOOPBACK) {
|
||||||
|
$this->site->aliasLoopback(VALET_LOOPBACK, $loopback);
|
||||||
|
}
|
||||||
|
|
||||||
$config = compact('tld', 'loopback');
|
$config = compact('tld', 'loopback');
|
||||||
|
|
||||||
$this->site->resecureForNewConfiguration($config, $config);
|
$this->site->resecureForNewConfiguration($config, $config);
|
||||||
|
|||||||
Reference in New Issue
Block a user