Created Configuration (markdown)
parent
db1afd8d15
commit
512c47ca27
|
|
@ -0,0 +1,37 @@
|
|||
The app can be configured via the `config.json` file in the `data/` folder.
|
||||
|
||||
The structure of the file is:
|
||||
```json
|
||||
{
|
||||
"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