mirror of
https://github.com/laravel/valet.git
synced 2026-02-04 16:10:08 +01:00
Don't bother with strict check #yolo
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user