mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-01-12 22:43:20 -05:00
Move config file to data dir
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
This commit is contained in:
parent
fe8bf54196
commit
e7a046c6ff
37
config.json
37
config.json
@ -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
32
data/config.json
Normal 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" : { }
|
||||
} ]
|
||||
}
|
Loading…
Reference in New Issue
Block a user