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

Reword unsecure description

This commit is contained in:
Adam Wathan
2016-08-14 09:35:56 -04:00
parent 9d09d8063d
commit 7458807034

View File

@@ -138,6 +138,9 @@
info('The ['.$url.'] site has been secured with a fresh TLS certificate.');
})->descriptions('Secure the given domain with a trusted TLS certificate');
/**
* Stop serving the given domain over HTTPS and remove the trusted TLS certificate.
*/
$app->command('unsecure [domain]', function ($domain = null) {
$url = ($domain ?: Site::host(getcwd())).'.'.Configuration::read()['domain'];
@@ -148,7 +151,7 @@
Caddy::restart();
info('The ['.$url.'] site will now serve traffic over HTTP.');
})->descriptions('Deconfigure the given domain from using a TLS certificate, and serve HTTP again');
})->descriptions('Stop serving the given domain over HTTPS and remove the trusted TLS certificate');
/**
* Determine which Valet driver the current directory is using.