mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 00:20:08 +01:00
Fix certificate generation
This commit is contained in:
@@ -179,7 +179,7 @@
|
||||
/**
|
||||
* Secure the given domain with a trusted TLS certificate.
|
||||
*/
|
||||
$app->command('secure [domain] [--expireIn=]', function ($domain = null, $expireIn = null) {
|
||||
$app->command('secure [domain] [--expireIn=]', function ($domain = null, $expireIn = 368) {
|
||||
$url = ($domain ?: Site::host(getcwd())).'.'.Configuration::read()['tld'];
|
||||
|
||||
Site::secure($url, null, $expireIn);
|
||||
|
||||
Reference in New Issue
Block a user