mirror of https://gitgud.io/fatchan/jschan.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
89 lines
1.8 KiB
89 lines
1.8 KiB
{
|
|
"dbURL": "mongodb://username:password@localhost:27017",
|
|
"redis": {
|
|
"host": "127.0.0.1",
|
|
"port": "6379",
|
|
"password": "long random string"
|
|
},
|
|
"port": 7000,
|
|
"sessionSecret": "long random string",
|
|
"tripcodeSecret": "long random string",
|
|
"ipHashSecret": "long random string",
|
|
"postPasswordSecret": "long random string",
|
|
"cacheTemplates": true,
|
|
"pruneModlogs": true,
|
|
"enableUserBoards": true,
|
|
"thumbExtension": ".png",
|
|
"thumbSize": 200,
|
|
"defaultBanDuration": 31536000000,
|
|
"refererCheck": true,
|
|
"refererRegex": "^https?:\\/\\/(?:www\\.)?domain\\.com\\/",
|
|
"meta": {
|
|
"siteName": "imageboard",
|
|
"url": "https://domain.com"
|
|
},
|
|
"globalLimits": {
|
|
"threadLimit": {
|
|
"min": 10,
|
|
"max": 200
|
|
},
|
|
"replyLimit": {
|
|
"min": 10,
|
|
"max": 500
|
|
},
|
|
"postFiles": {
|
|
"max": 3
|
|
},
|
|
"postFilesSize": {
|
|
"max": 10485760
|
|
},
|
|
"bannerFiles": {
|
|
"max": 10
|
|
},
|
|
"bannerFilesSize": {
|
|
"max": 10485760
|
|
},
|
|
"messageLength": {
|
|
"max": 4000
|
|
}
|
|
},
|
|
"boardDefaults": {
|
|
"theme": "lain",
|
|
"locked": false,
|
|
"unlisted": false,
|
|
"captchaMode": 0,
|
|
"tphTrigger": 0,
|
|
"pphTrigger": 0,
|
|
"triggerAction": 0,
|
|
"forceAnon": false,
|
|
"early404": true,
|
|
"ids": false,
|
|
"flags": false,
|
|
"userPostDelete": true,
|
|
"userPostSpoiler": true,
|
|
"userPostUnlink": true,
|
|
"threadLimit": 200,
|
|
"replyLimit": 500,
|
|
"maxFiles": 1,
|
|
"forceReplyMessage": false,
|
|
"forceReplyFile": false,
|
|
"forceThreadMessage": false,
|
|
"forceThreadFile": false,
|
|
"forceThreadSubject": false,
|
|
"minThreadMessageLength": 0,
|
|
"minReplyMessageLength": 0,
|
|
"defaultName": "Anon",
|
|
"filters": [],
|
|
"filterMode": 0,
|
|
"filterBanDuration": 0,
|
|
"announcement": {
|
|
"raw": null,
|
|
"markdown": null
|
|
},
|
|
"allowedFileTypes": {
|
|
"animatedImage": true,
|
|
"image": true,
|
|
"video": true
|
|
}
|
|
}
|
|
}
|
|
|