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
No known key found for this signature in database
GPG Key ID: 0D2CE231A7287EBC
2 changed files with 32 additions and 37 deletions

View File

@ -1,37 +0,0 @@
{
"randomSeed": 20,
"port": 8888,
"captchaExpiryTimeLimit": 5,
"threadDelay": 2,
"throttle": 10,
"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":{}
}
]
}

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" : { }
} ]
}