add trusted_servers regex

This commit is contained in:
Сергей Кодолов 2023-05-09 10:20:17 +03:00
parent 1e72c652b3
commit 9af0ee646b

View File

@ -32,6 +32,8 @@
"type": "array",
"label": "Trusted Servers",
"hint": "[\"matrix.org\"]",
"regex": "^\\[((\"[^\"]*\")(, ?(\"[^\"]*\"))*)?\\]$",
"pattern_error": "Must be in list of domain names format",
"required": false,
"env_variable": "TRUSTED_SERVERS"
},