forked from mistakia/nano-community
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.sample.mjs
43 lines (36 loc) · 899 Bytes
/
config.sample.mjs
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
export const discordAuthorization = '' // user authorization header bearer token
export const twitterAuthorization = '' // twitter auth bearer token
export const port = 8080 // api port
export const github_access_token = ''
// jwt token config
export const jwt = {
secret: 'xxxxx',
algorithms: ['HS256'],
credentialsRequired: false
}
export const ssl = false // enable ssl, make sure key & cert exist
export const key = '' // ssl key
export const cert = '' // ssl cert
export const url = '' // url
export const mysql = {
client: 'mysql',
connection: {
host: 'localhost',
user: 'root',
password: '',
database: 'nano_development',
charset: 'utf8mb4'
},
pool: {
min: 2,
max: 20
}
}
export const nanodbAPI = ''
export const trustedAddresses = []
export const rpcAddresses = []
export const cloudflare = {
zone_id: '',
user_email: '',
token: ''
}