-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathconfig_sample.js
More file actions
31 lines (31 loc) · 951 Bytes
/
config_sample.js
File metadata and controls
31 lines (31 loc) · 951 Bytes
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
export default {
mongodb: {
uri: "mongodb://127.0.0.1:27017",
dbname: "pixiv_bot"
},
postgres: {
uri: "postgresql://user:password@localhost:5432/pixiv_bot",
// Optional: override default pool settings
// pool: {
// max: 50, // Maximum connections (default: 50)
// min: 5, // Minimum connections (default: 5)
// idleTimeoutMillis: 30000, // Close idle after 30s (default: 30000)
// connectionTimeoutMillis: 3000 // Timeout acquiring connection (default: 3000)
// }
},
pixiv: {
cookie: "",
ua: "",
pximgproxy: "",
csrf: "",
ugoiraurl: "",
ugoira_remote: false // Set to true if using remote ugoira conversion
},
tg: {
master_id: 1,
token: "",
access_token: "",
salt: "",
refetch_api: ""
}
}