e949/config.json.example

50 lines
815 B
Plaintext
Raw Normal View History

{
"debug": true,
"db": {
"addr": "localhost",
"name": "e949",
"user": "e949",
"pass": "password"
},
"registration": {
"active": true,
"need_email": false,
"need_invite": false,
"allowed_syms": "a-zA-Z0-9_=+-",
"min_passw_len": 8
},
"accounts": {
"external_avatars": false
},
"media": {
"pics_path": "media/pics/",
"prevs_path": "media/prevs/",
"previews_enabled": true,
"max_pic_size": 56623104,
"max_pic_res": {
"x": 8192,
"y": 8192,
"ratio": 20
},
"allowed_exts": [
"jpg",
"jpeg",
"png"
],
"allowed_mimetypes": [
"image/jpeg",
"image/png"
]
},
"posting": {
"tags": {
"max_per_post": 256,
"max_single_length": 256,
"max_raw_input_str_length": 1536,
"allowed_syms": "a-zA-Z0-9_"
},
"title": {
"max_length": 4096
}
}
}