summaryrefslogtreecommitdiff
path: root/schemas
diff options
context:
space:
mode:
Diffstat (limited to 'schemas')
-rw-r--r--schemas/config/3.0.schema.json10
1 files changed, 9 insertions, 1 deletions
diff --git a/schemas/config/3.0.schema.json b/schemas/config/3.0.schema.json
index aa063aa1..d008b8da 100644
--- a/schemas/config/3.0.schema.json
+++ b/schemas/config/3.0.schema.json
@@ -869,7 +869,15 @@
"examples": [
"*"
],
- "default": ""
+ "default": null
+ },
+ "allowed_origin_regex": {
+ "description": "Controls 'Access-Control-Allow-Origin' header value, regex version",
+ "type": "string",
+ "examples": [
+ "^https://foo"
+ ],
+ "default": null
},
"allowed_headers": {
"description": "Controls 'Access-Control-Allow-Headers' header value",