We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 81dcdbb + e1aeb0b commit c79244bCopy full SHA for c79244b
server.php
@@ -135,10 +135,13 @@ function valet_default_site_path($config)
135
if (in_array($file, ['.', '..', '.DS_Store'])) continue;
136
137
// match dir for lowercase, because Nginx only tells us lowercase names
138
- if (strtolower($file) === $siteName || strtolower($file) === $domain) {
+ if (strtolower($file) === $siteName) {
139
$valetSitePath = $path.'/'.$file;
140
break;
141
}
142
+ if (strtolower($file) === $domain) {
143
+ $valetSitePath = $path.'/'.$file;
144
+ }
145
146
closedir($handle);
147
0 commit comments