blob: 83c8baa296795bfffd965c4c2e0f03c32afad808 (
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
44
45
46
47
|
module.exports = {
/*
NOTES:
All folders specified on this file will be created automagically.
Ideally the only options you should change are port and basedomain.
*/
// Should this instance of loli-safe be private? If so, a client token will be needed for uploads
private: true,
// Your base domain where the app is running. Remember to finish it with '/'
basedomain: 'https://i.kanacchi.moe/',
// Port on which to run the server
port: 9999,
// Uploads config
uploads: {
// If prefix is set, it will be appended at the end of basedomain. Remember to finish it with `/`
// Ex: https://i.kanacchi.moe/prefix/k4n4.png
// Leave blank to use the basedomain.
prefix: '',
// Folder where images should be stored
folder: 'uploads',
// Max file size allowed
maxsize: '512MB',
// The length of the random generated name for the uploaded files
fileLength: 32,
},
// Folder where to store logs
logsFolder: 'logs',
// The following values shouldn't be touched
database: {
client: 'sqlite3',
connection: {
filename: './database/db'
},
useNullAsDefault: true
}
}
|