From 1e7b020fd87e31bf3f37de5d51c0862b63f39252 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Tue, 17 Oct 2017 12:12:12 -0400 Subject: [PATCH] Don't bother with strict check #yolo --- server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.php b/server.php index db775f3..6fefceb 100644 --- a/server.php +++ b/server.php @@ -24,7 +24,7 @@ function show_valet_404() */ function valet_support_wildcard_dns($domain) { - if (in_array(substr($domain, -7), ['.xip.io', '.nip.io'], true)) { + if (in_array(substr($domain, -7), ['.xip.io', '.nip.io'])) { // support only ip v4 for now $domainPart = explode('.', $domain); if (count($domainPart) > 6) {