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

Fix precedence bug

This commit is contained in:
Antonio Carlos Ribeiro
2021-08-29 13:50:25 +02:00
parent df1a95c386
commit a13832c95b

View File

@@ -964,6 +964,6 @@ public function domain($domain)
return $parked['site'];
}
return $domain ?: $this->host(getcwd()).'.'.$this->config->read()['tld'];
return ($domain ?: $this->host(getcwd())).'.'.$this->config->read()['tld'];
}
}