mirror of
https://github.com/laravel/valet.git
synced 2026-02-04 16:10:08 +01:00
added missing )
This commit is contained in:
@@ -209,7 +209,7 @@ public function getSiteUrl($directory)
|
||||
}
|
||||
|
||||
// Remove .tld from the end of sitename if it was provided
|
||||
if (ends_with($directory, '.'.$tld) {
|
||||
if (ends_with($directory, '.'.$tld)) {
|
||||
$directory = substr($directory, 0, -(strlen('.'.$tld)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user