From 8d24ec51054a84c25a05ee0ff9c7fefad9dd46ee Mon Sep 17 00:00:00 2001 From: Maksym Hrynenko Date: Thu, 6 Jun 2024 15:16:11 +0300 Subject: [PATCH] add: routing config example --- config.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config.yaml b/config.yaml index bf92fb5..e750535 100644 --- a/config.yaml +++ b/config.yaml @@ -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 @@ -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: