Add CORS_origins key to configuration

This commit is contained in:
Matthias
2020-06-24 20:32:19 +02:00
parent 112906458f
commit b77a105778
8 changed files with 34 additions and 1 deletions

View File

@@ -221,6 +221,8 @@ CONF_SCHEMA = {
},
'username': {'type': 'string'},
'password': {'type': 'string'},
'jwt_secret_key': {'type': 'string'},
'CORS_origins': {'type': 'array', 'items': {'type': 'string'}},
'verbosity': {'type': 'string', 'enum': ['error', 'info']},
},
'required': ['enabled', 'listen_ip_address', 'listen_port', 'username', 'password']