Fix API_SERVER_NAME regex

This commit is contained in:
Théophile Diot 2023-08-31 12:36:03 +02:00
parent 56422bca46
commit d28432e5f2
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06

View file

@ -195,7 +195,7 @@
"help": "Server name (virtual host) for the API.",
"id": "api-server-name",
"label": "API server name",
"regex": "^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\\.?$",
"regex": "^[^ ]{1,255}$",
"type": "text"
},
"API_WHITELIST_IP": {