From 70969872cf62f43c585ffd59e399310128fe2082 Mon Sep 17 00:00:00 2001 From: Matt Stauffer Date: Fri, 15 Apr 2022 11:51:34 -0400 Subject: [PATCH] Roll back #1088 --- cli/Valet/Site.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cli/Valet/Site.php b/cli/Valet/Site.php index 917752d..4c2416c 100644 --- a/cli/Valet/Site.php +++ b/cli/Valet/Site.php @@ -1080,13 +1080,13 @@ public function certificatesPath($url = null, $extension = null) */ public function domain($domain) { - if ($this->parked()->pluck('site')->contains($domain)) { - return $domain; - } + // if ($this->parked()->pluck('site')->contains($domain)) { + // return $domain; + // } - if ($parked = $this->parked()->where('path', getcwd())->first()) { - return $parked['site']; - } + // if ($parked = $this->parked()->where('path', getcwd())->first()) { + // return $parked['site']; + // } return ($domain ?: $this->host(getcwd())).'.'.$this->config->read()['tld']; }