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

added missing )

This commit is contained in:
Erik | Sobit
2022-11-11 09:42:06 +01:00
parent 753f2db745
commit 3dbecab9dd

View File

@@ -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)));
}