forked from ravi0lii/node-sharex-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-example.json
More file actions
executable file
·38 lines (37 loc) · 820 Bytes
/
Copy pathconfig-example.json
File metadata and controls
executable file
·38 lines (37 loc) · 820 Bytes
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
{
"port": 3854,
"name": "TEST",
"keys": {
},
"fileSizeLimit": 59999999,
"largeFileSizeLimit": 5368709120,
"fileNameLength": 8,
"useLocalStaticServe": true,
"useFileIndex": true,
"staticFileServerUrl": "https://imagehost.test/f/",
"serverUrl": "https://imagehost.test",
"uploadDirectory": "uploads/",
"ssl": {
"useSSL": false,
"privateKeyPath": "",
"certificatePath": ""
},
"fileExtensionCheck": {
"enabled": true,
"extensionsAllowed": [
".png",
".jpg",
".jpeg",
".gif",
".mkv",
".mp4",
".m4v",
".webm",
".avif",
".webp"
]
},
"pagination": {
"itemsPerPage": 12
}
}