mirror of
https://github.com/laravel/valet.git
synced 2026-02-04 08:10:07 +01:00
Update Ngrok (valet share) to lowercase domains before matching
This commit is contained in:
@@ -51,7 +51,7 @@ public function findHttpTunnelUrl($tunnels, $domain)
|
||||
// find the one responding on HTTP. Each tunnel has an HTTP and a HTTPS address
|
||||
// but for local dev purposes we just desire the plain HTTP URL endpoint.
|
||||
foreach ($tunnels as $tunnel) {
|
||||
if ($tunnel->proto === 'http' && strpos($tunnel->config->addr, $domain)) {
|
||||
if ($tunnel->proto === 'http' && strpos($tunnel->config->addr, strtolower($domain))) {
|
||||
return $tunnel->public_url;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user