-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.json
59 lines (59 loc) · 1.6 KB
/
config.example.json
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
{
"debug": false,
"storage": "local | gdrive",
"host": {
"ip": "0.0.0.0",
"port": 5000,
"domain": "https://upload.example.com/",
"proxy": false,
"cdn": {
"enabled": false,
"url": "https://upscdn.example.com/"
},
"cachetime": 600
},
"delete": {
"enabled": true,
"after": 3600,
"permanently": false
},
"folderidlength": 6,
"deletelength": 8,
"chunk": 104857600,
"log": "",
"gdrive": {
"credential" : {},
"scopes": ["https://www.googleapis.com/auth/drive"],
"root": "",
"cache": false
},
"local": {
"root": "/path/to/upload/folder"
},
"general": {
"name": "Example's Upload",
"brand": "Somebody",
"info": "Working as <strong>Server Admin</strong> developer<br>enrolled in <strong>Example</strong>",
"icon": "//example.com/favicon.ico",
"contact": "//example.com/contact",
"webinfo": [
[
"Services",
["Service1", "//example.com/service1"],
["Service2", "//example.com/service2"],
["Service3", "//example.com/service3"]
],
[
"About",
["Me!", "//example.com/about"],
["Github", "//github.com/github"]
],
[
"Server",
["Server1", "//example.com/server1"],
["Server2", "//example.com/server2"],
["Server3", "//example.com/server3"]
]
]
}
}