Added configuration to disable serving the playground webpage and configuration to set Access-Control-Allow-Origin header value on responses.

Signed-off-by: JacobPozaic <jacobpozaic@gmail.com>
This commit is contained in:
jacobp
2021-12-09 10:56:23 -05:00
committed by JacobPozaic
parent 8f606da92f
commit 99ee7c55b5
5 changed files with 30 additions and 14 deletions

View File

@@ -5,6 +5,8 @@
"captchaExpiryTimeLimit" : 5,
"throttle" : 10,
"threadDelay" : 2,
"playgroundEnabled" : false,
"corsHeader" : "*",
"captchas" : [ {
"name" : "DebugCaptcha",
"allowedLevels" : [ "debug" ],