httpd service: add CORS support

This commit is contained in:
Nicola Murino
2021-11-13 23:14:50 +01:00
parent ee5c5e033d
commit 0833b4698e
10 changed files with 78 additions and 18 deletions

View File

@@ -221,7 +221,16 @@
"ca_certificates": [],
"ca_revocation_lists": [],
"signing_passphrase": "",
"max_upload_file_size": 1048576000
"max_upload_file_size": 1048576000,
"cors": {
"enabled": false,
"allowed_origins": [],
"allowed_methods": [],
"allowed_headers": [],
"exposed_headers": [],
"allow_credentials": false,
"max_age": 0
}
},
"telemetry": {
"bind_port": 10000,