e949/config.json
shr3dd3r e180c04e44 Продолжение запила API
Создание постов, новые настройки в конфиге
2024-01-20 00:02:51 +03:00

48 lines
803 B
JSON

{
"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_"
},
"max_title_length": 4096
}
}