-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
67 lines (67 loc) · 1.42 KB
/
config.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
60
61
62
63
64
65
66
67
{
"server": {
"port": 3000,
"salt": "password",
"errors": "errors_en.json",
"request_size_limit": "50mb"
},
"discord": {
"discord_client_id": "",
"discord_client_secret": "",
"discord_redirect_uri": "http://localhost:3000/settings/auth",
"discord_login_redirect_uri": "http://localhost:3000/auth/discord"
},
"database": {
"host": "localhost",
"user": "root",
"password": "",
"name": "senbox"
},
"settings": {
"name": "SenBox",
"description": "A simple, free, and exclusive file hosting solution.",
"registrations": "on",
"invites": "on",
"discord-login": "off"
},
"upload": {
"path": "files",
"banner-path": "files/user/banner",
"banner-size": "10",
"avatar-path": "files/user/avatar",
"avatar-size": "10",
"max-file-size": "1000",
"banned-mimes": [
"application/zip",
"application/x-zip-compressed",
"application/exe",
"application/x-msdownload"
]
},
"groups": {
"0": {
"name": "root",
"id": 1,
"default-storage": 10485760,
"invites": 0
},
"1": {
"name": "Admin",
"id": 2,
"default-storage": 10485760,
"invites": 0
},
"2": {
"name": "Upgraded",
"id": 3,
"default-storage": 10485760,
"invites": 3
},
"3": {
"name": "User",
"id": 4,
"default-storage": 10485760,
"invites": 1
}
}
}