mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 08:40:09 +01:00
Change valet domain command to valet tld
Fixes #144 ".test" or ".dev" is really a TLD, not a "domain" in the conventional sense. Changing the command to `valet tld` more accurately reflects the purpose of the command (to set or get the configured TLD served by Valet) The use of `valet domain` is currently preserved as an alias for `valet tld`, but will be removed at a later date.
This commit is contained in:
@@ -104,7 +104,7 @@ function getLinks($path, $certs)
|
||||
return [$site => $this->files->readLink($path.'/'.$site)];
|
||||
})->map(function ($path, $site) use ($certs, $config) {
|
||||
$secured = $certs->has($site);
|
||||
$url = ($secured ? 'https': 'http').'://'.$site.'.'.$config['domain'];
|
||||
$url = ($secured ? 'https': 'http').'://'.$site.'.'.$config['tld'];
|
||||
|
||||
return [$site, $secured ? ' X': '', $url, $path];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user