-
Notifications
You must be signed in to change notification settings - Fork 27
/
config.js
69 lines (57 loc) · 2.23 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
module.exports = {
boards: [
'all', 'g', 'int', 'draw', 'hotel', 'r', 'v', 'pol', 'fit', 'cult',
's4s', 'dev' /*'a', 'b', 'c', 'd', 'e', 'f', 'film', 'g', 'gif', 'h', 'hr', 'k',
'm', 'o', 'p', 'r', 's', 't', 'u', 'v', 'vg', 'vr', 'w', 'wg', 'i',
'ic', 'r9k', 's4s', 'cm', 'hm', 'lgbt', 'y', '3', 'adv', 'an', 'asp',
'cgl', 'ck', 'co', 'diy', 'fa', 'fit', 'gd', 'hc', 'int', 'jp', 'lit',
'mlp', 'mu', 'n', 'out', 'po', 'pol', 'sci', 'soc', 'sp', 'tg', 'toy',
'trv', 'tv', 'vp', 'waifu', 'wsg', 'x', 'dev', 'tech', 'prog',
'dogecoin', 'fedoracoin', 'coin', 'q', 'cats', 'draw', 'hotel'*/
],
all_fields: 'chat name body convo convo_id count date trip',
board_fields: 'chat name body convo convo_id count date trip country country_name image image_filename image_filesize image_width image_height duration thumb identifier',
admin_pw_file: 'admin_pw.txt',
no_limit_cookie_file: 'no_limit_cookie.txt',
max_pw_attempts: 10,
max_pw_attempts_window: 30000,
securetrip_salt: 'AVEPwfpR4K8PXQaKa4PjXYMGktC2XY4Qt59ZnERsEt5PzAxhyL',
salt_file: 'salt.txt',
/* User session expires every 24 hours */
user_session_age: '24h',
max_convos: 15,
max_posts: 250,
ssl: {
ca: 'sub.class1.server.ca.pem',
key: 'ssl.key',
cert: 'ssl.crt'
},
/* Supported file types */
image_formats: ['jpg', 'jpeg', 'png', 'gif'],
video_formats: ['ogv', 'webm', 'mp4'],
audio_formats: ['ogg', 'mp3', 'flac'],
codec_names: {
video: ['theora', 'vp8', 'vp9', 'h264', 'vp6f'],
audio: ['vorbis', 'libopus', 'mp3', "aac", "opus"]
},
youtube_key: 'put_your_key',
banned_ranges: [],//['99.230.', '70.27.', '70.25.'],
ip_exceptions: {
//"176.14": ["RU-54", "Russian Federation"],
//"176.14": "US-NY",
"46.150.": "RU-47",
"83.220.": "RU-47",
"94.21.": "HU-05",
"31.221.": "ES-51",
"31.185.": "GB-V2",
"213.65.": "SE-28",
"90.219.": "GB-I2",
"85.140.": "RU-08",
"95.215.": "SE-26",
"109.122.": "UA-12",
"88.128.": "DE-04",
"78.51.": "DE-04",
"89.70.": "PL-78",
"212.62.": "RS-05",
}
};