From e7a046c6ffd91ef4dbda6c33af7a6b08954e4dc7 Mon Sep 17 00:00:00 2001 From: Rahul Rudragoudar Date: Mon, 29 Mar 2021 15:30:12 +0530 Subject: [PATCH] Move config file to data dir Signed-off-by: Rahul Rudragoudar --- config.json | 37 ------------------------------------- data/config.json | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 37 deletions(-) delete mode 100644 config.json create mode 100644 data/config.json diff --git a/config.json b/config.json deleted file mode 100644 index 727b973..0000000 --- a/config.json +++ /dev/null @@ -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":{} - } - ] -} \ No newline at end of file diff --git a/data/config.json b/data/config.json new file mode 100644 index 0000000..41d3c90 --- /dev/null +++ b/data/config.json @@ -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" : { } + } ] +} \ No newline at end of file