mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-02-02 23:57:44 +05:00
fix: hostname pattern in portal fixed
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
<form action="/api/network/settings" id="network-settings" class="hidden">
|
<form action="/api/network/settings" id="network-settings" class="hidden">
|
||||||
<label for="hostname">
|
<label for="hostname">
|
||||||
Hostname
|
Hostname
|
||||||
<input type="text" class="network-hostname" name="hostname" maxlength="24" pattern="^[A-Za-z0-9]+[A-Za-z0-9\-]*[A-Za-z0-9]+$" required>
|
<input type="text" class="network-hostname" name="hostname" maxlength="24" pattern="[A-Za-z0-9]+[A-Za-z0-9\-]+[A-Za-z0-9]+" required>
|
||||||
</label>
|
</label>
|
||||||
<label for="network-use-dhcp">
|
<label for="network-use-dhcp">
|
||||||
<input type="checkbox" class="network-use-dhcp" name="useDhcp" value="true">
|
<input type="checkbox" class="network-use-dhcp" name="useDhcp" value="true">
|
||||||
|
|||||||
Reference in New Issue
Block a user