Skip to content

Configuration

hrj edited this page Dec 3, 2021 · 4 revisions

The app can be configured via the config.json file in the data/ folder.

The structure of the file is:

{
  "randomSeed" : 20,
  "port" : 8888,
  "captchaExpiryTimeLimit" : 5,                          // in minutes
  "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" : { }
  } ]
}%          

Clone this wiki locally