WebDAV: add CORS support

This commit is contained in:
Nicola Murino
2020-08-15 15:55:20 +02:00
parent 196a56726e
commit 0dbf0cc81f
10 changed files with 86 additions and 27 deletions

View File

@@ -50,7 +50,16 @@
"bind_port": 0,
"bind_address": "",
"certificate_file": "",
"certificate_key_file": ""
"certificate_key_file": "",
"cors": {
"enabled": false,
"allowed_origins": [],
"allowed_methods": [],
"allowed_headers": [],
"exposed_headers": [],
"allow_credentials": false,
"max_age": 0
}
},
"data_provider": {
"driver": "sqlite",