-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathconfig-example.toml
65 lines (52 loc) · 1.33 KB
/
config-example.toml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
log = "axum_rs="
cleaner_max_try = 0
topic_section_secret_key = "<YOUR KEY>"
host = "https://axum.rs"
[web]
addr = "0.0.0.0:9527"
prefix = "/v1"
[db]
dsn = "postgres://axum_rs:[email protected]:5432/axum_rs?sslmode=disable"
max_conns = 5
[session]
secret_key = "<YOUR KEY>"
default_timeout = 20
max_timeout = 1440
admin_timeout = 600
[[mails]]
name = "[email protected]"
smtp = "mail.cock.li"
user = "[email protected]"
password = "password"
[[mails]]
name = "[email protected]"
smtp = "mail<N>.serv00.com"
user = "[email protected]"
password = "password"
[protected_content]
max_sections = 3
min_sections = 2
guest_captcha = 'HCaptcha'
user_captcha = 'Turnstile'
timeout = 5
placeholder = ''
[captcha]
timeout = 30
[captcha.hcaptcha]
secret_key = '0x0000000000000000000000000000000000000000'
validation_url = 'https://api.hcaptcha.com/siteverify'
[captcha.turnstile]
secret_key = '1x0000000000000000000000000000000AA'
validation_url = 'https://challenges.cloudflare.com/turnstile/v0/siteverify'
[upload]
max_size = 5242880 # 5m
[tron]
wallet = "TPGEtKJmPJU3naosCcRrVReE2ckFhE9sYM"
usdt_contract_addr = "TXLAQ63Xg1NAzckPwKHvzw7CSEmLMEqcdj" # TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t
api_url = "https://nileapi.tronscan.org" # https://apilist.tronscanapi.com
fetch_timeout = 10
proxy = ''
[currency]
trx_rate = 8
cny_rate = 8.1
pointer_rate = 1000