Skip to content

Commit

Permalink
add: routing config example
Browse files Browse the repository at this point in the history
  • Loading branch information
mhrynenko committed Jun 6, 2024
1 parent f32fd1e commit 8d24ec5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ db:
listener:
addr: :8000

# Routing config is used for deploying several service instances under one domain to differentiate them
# by configurable prefix. Note that prefix should be formatted as `/integrations/configured-service-prefix/`
routing:
prefix: "/integrations/configured-service-prefix/"

airdrop:
amount: amount
token_address: erc20_token_address
Expand All @@ -21,7 +26,7 @@ broadcaster:
verifier:
verification_key_path: "./verification_key.json"
allowed_age: 18
allowed_citizenships: ["UKR"]
allowed_citizenships: [ "UKR" ]
allowed_event_id: "event_id"
allowed_query_selector: "query_selector"
# at least one of these should be correct to pass:
Expand Down

0 comments on commit 8d24ec5

Please sign in to comment.