mirror of
https://github.com/pacnpal/simpleguardhome.git
synced 2025-12-20 04:21:13 -05:00
fix(index.html): update domain input pattern for improved validation
This commit is contained in:
@@ -156,7 +156,7 @@
|
||||
<label for="domain" class="block text-gray-700 text-sm font-bold mb-2">
|
||||
Enter Domain to Check
|
||||
</label>
|
||||
<input type="text" id="domain" name="domain" required pattern="^[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9](\.[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])*$"
|
||||
<input type="text" id="domain" name="domain" required pattern="[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]\.[a-zA-Z0-9-\.]*[a-zA-Z0-9]"
|
||||
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
|
||||
placeholder="example.com"
|
||||
title="Please enter a valid domain name">
|
||||
|
||||
Reference in New Issue
Block a user