1
0
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:
Samuel Štancl
2021-12-13 21:58:37 +01:00
committed by GitHub
parent 8ff684087b
commit b62c5dff65

View File

@@ -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);