mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 16:40:05 +01:00
✨ Adding uninstallLoopback.
This commit is contained in:
@@ -102,8 +102,7 @@
|
||||
}
|
||||
|
||||
if (filter_var($loopback, FILTER_VALIDATE_IP) === false) {
|
||||
warning('['.$loopback.'] is not a valid IP address');
|
||||
return 1;
|
||||
return warning('['.$loopback.'] is not a valid IP address');
|
||||
}
|
||||
|
||||
$oldLoopback = Configuration::read()['loopback'];
|
||||
@@ -383,6 +382,8 @@
|
||||
Nginx::uninstall();
|
||||
info('Removing Dnsmasq and configs...');
|
||||
DnsMasq::uninstall();
|
||||
info('Removing loopback customization...');
|
||||
Site::uninstallLoopback();
|
||||
info('Removing Valet configs and customizations...');
|
||||
Configuration::uninstall();
|
||||
info('Removing PHP versions and configs...');
|
||||
|
||||
Reference in New Issue
Block a user