cic-dw/config.toml
Mohammed Sohail d4506e6303
update: (dashboard-api) cors and sql limits
- add cors for core websites and dev env
- update sql query limit to 2 years
- enabled future cors for auth
2022-05-12 12:32:33 +03:00

21 lines
470 B
TOML

[db]
postgres = "postgresql://postgres:postgres@127.0.0.1:5432/cic_dw"
redis = "redis://127.0.0.1:6379/0"
[server]
address = ":3000"
cors = [
"https://dashboard.sarafu.network",
"https://dashboard.grassecon.org",
"https://dashboard.grassrootseconomics.org",
"http://localhost:3000"
]
[chain]
index = "0x5A1EB529438D8b3cA943A45a48744f4c73d1f098"
rpc = "http://127.0.0.1:8545"
[syncers]
cache = "@every 20s"
ussd = "@every 30s"
token = "@every 1m"