-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
21 lines (21 loc) · 830 Bytes
/
config.js
File metadata and controls
21 lines (21 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module.exports = {
name: "unknown", //your name to be referred by
email: "someemail@example.com", //your email so site users can contact you
ratelimit: {
time: 3, //time window specified in minutes
requests: 100 //how many requests allowed for the time specified per IP address
},
filelimit: {
anon: 209715200, //200mb
registered: 2147483648, //2gb
server: 5 * 1024 * 1024 //allows uploading to folder until last 5mb reached
},
discord: {
on: false, //switch this to true to turn it on, false to turn it off
webhook: 'your webhook link' //create one in Discord in channel settings -> integrations
},
secrets: {
jwt: "jwt signing secret here" //please use a secure signing secret
},
workers: 2 //amount of worker threads
}