mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 08:30:07 +01:00
Fix precedence bug
This commit is contained in:
@@ -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'];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user