Move config file to data dir

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
This commit is contained in:
Rahul Rudragoudar
2021-03-29 15:30:12 +05:30
parent fe8bf54196
commit e7a046c6ff
2 changed files with 32 additions and 37 deletions

32
data/config.json Normal file
View File

@@ -0,0 +1,32 @@
{
"randomSeed" : 20,
"port" : 8888,
"captchaExpiryTimeLimit" : 5,
"throttle" : 10,
"threadDelay" : 2,
"captchas" : [ {
"name" : "FilterChallenge",
"allowedLevels" : [ "medium", "hard" ],
"allowedMedia" : [ "image/png" ],
"allowedInputType" : [ "text" ],
"config" : { }
}, {
"name" : "GifCaptcha",
"allowedLevels" : [ "hard" ],
"allowedMedia" : [ "image/gif" ],
"allowedInputType" : [ "text" ],
"config" : { }
}, {
"name" : "ShadowTextCaptcha",
"allowedLevels" : [ "easy" ],
"allowedMedia" : [ "image/png" ],
"allowedInputType" : [ "text" ],
"config" : { }
}, {
"name" : "RainDropsCaptcha",
"allowedLevels" : [ "easy", "medium" ],
"allowedMedia" : [ "image/gif" ],
"allowedInputType" : [ "text" ],
"config" : { }
} ]
}