mirror of
https://github.com/laravel/valet.git
synced 2026-02-04 08:10:07 +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'];
|
||||
$loopback = $this->configuration->read()['loopback'];
|
||||
|
||||
if ($loopback !== VALET_LOOPBACK) {
|
||||
$this->site->aliasLoopback(VALET_LOOPBACK, $loopback);
|
||||
}
|
||||
|
||||
$config = compact('tld', 'loopback');
|
||||
|
||||
$this->site->resecureForNewConfiguration($config, $config);
|
||||
|
||||
Reference in New Issue
Block a user