blob: ce9cb70902becd02213418606fa7ebf89396dfe4 (
plain) (
blame)
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
|
module.exports = {
// Port on which to run the server
port: 9999,
// Upload restrictions
privacy: {
// Is the service public? If so, anyone with the URL can upload files
public: false,
// If not, which IP's should be able to access?
IPs: [
'::1',
'127.0.0.1'
]
},
// Uploads config
uploads: {
// Folder where images should be stored
folder: 'uploads',
// Max file size allowed
maxsize: '512MB'
},
// Folder where to store logs
logsFolder: 'logs',
// The length of the random generated name for the uploaded files
fileLength: 4,
// The following values shouldn't be touched
database: {
client: 'sqlite3',
connection: {
filename: './db'
},
useNullAsDefault: true
}
}
|