mirror of
https://github.com/GrassrootsEconomics/cic-dw.git
synced 2024-11-06 01:06:45 +01:00
Mohammed Sohail
d4506e6303
- add cors for core websites and dev env - update sql query limit to 2 years - enabled future cors for auth
21 lines
470 B
TOML
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" |