diff options
author | Valery Piashchynski <[email protected]> | 2023-11-04 12:45:58 +0100 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2023-11-04 12:45:58 +0100 |
commit | 2e094d907a78055631bd126b3feb25008089fb34 (patch) | |
tree | a4f03f79625644e5a93eb39f1fb4f2977fda0c51 /schemas | |
parent | 89a11738d4a666e19480e2b615d73cd30529ed91 (diff) |
feature: `allowed_origin_regex` headers configuration option
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'schemas')
-rw-r--r-- | schemas/config/3.0.schema.json | 10 |
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", |