mirror of
https://github.com/YunoHost-Apps/fluffychat_ynh.git
synced 2024-09-03 18:36:04 +02:00
fix regex
This commit is contained in:
parent
c4a15178a4
commit
7299693f5e
1 changed files with 1 additions and 1 deletions
|
@ -21,5 +21,5 @@ help = "Here you can easily configure some things about your Fluffychat instance
|
|||
help.en = "This option changes the default Matrix server on the Fluffychat login page."
|
||||
help.fr = "Cette option modifie le serveur Matrix renseigné par défaut sur la page de connexion de Fluffychat."
|
||||
type = "string"
|
||||
pattern.regexp = '^([-?a-zA-Z0-9]\.?){1,256}[a-zA-Z0-9]{1,6}$'
|
||||
pattern.regexp = '^([-?a-zA-Z0-9]\.?){1,256}(\.[a-zA-Z0-9]{1,6}){1}$'
|
||||
pattern.error = "Must be a domain name or a sub-domain. Must not start with 'http://' or 'https://'."
|
||||
|
|
Loading…
Reference in a new issue