Fixed custom domain issues

This commit is contained in:
Julien Nahum
2024-01-05 11:11:27 +01:00
parent 6a0aef864b
commit 32f98d3d18
2 changed files with 2 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ abstract class UserFormRequest extends \Illuminate\Foundation\Http\FormRequest
// Custom SEO
'seo_meta' => 'nullable|array',
'custom_domain' => 'sometimes|nullable|regex:/^[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}$/'
'custom_domain' => 'sometimes|nullable|regex:/^[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,20}$/'
];
}