-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsystem_config.example.json
More file actions
96 lines (96 loc) · 1.85 KB
/
Copy pathsystem_config.example.json
File metadata and controls
96 lines (96 loc) · 1.85 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"system_conf": {
"safe_conf": {
"allow_extension": [
"png",
"jpg",
"jpeg",
"gif",
"webp",
"mp4",
"webm",
"json",
"css",
"js",
"txt",
"md"
],
"cors_allow_hostlist": [
"http://localhost:5173"
],
"exclude_paths": [
"/config"
]
},
"data_conf": {
"database": {
"path": "data/database.db"
},
"image": {
"path": "data/image",
"conv_to": "webp"
},
"resource": {
"path": "data/"
}
},
"crawler_conf": {
"concurrency": 5,
"rss_timeout_seconds": 15
},
"moments_integrated_conf": {
"enable": false,
"api_single_return_entries": 20,
"integrated": {
"telegram": {
"enable": false,
"sync_delete": false,
"bot_token": "",
"channel_id": "",
"media_path": "telegram",
"filter_userid": [],
"start_time": 0
},
"discord": {
"enable": false,
"sync_delete": false,
"bot_token": "",
"guild_id": "",
"channel_id": "",
"filter_userid": []
}
}
},
"oss_conf": {
"provider": "aliyun",
"enable": false,
"accessKeyId": "",
"accessKeySecret": "",
"bucket": "",
"endpoint": "",
"region": "",
"customDomain": "",
"secure": true,
"timeout": 30,
"prefix": ""
},
"verify_conf": {
"turnstile": {
"enable": false,
"secret": "",
"site_key": ""
},
"fingerprint": {
"secret": "change-me"
}
},
"email_conf": {
"enable": false,
"host": "",
"user_name": "",
"password": "",
"port": 465,
"sender": ""
}
}
}