Skip to content

Commit

Permalink
chore: increase priority of chain-history routes
Browse files Browse the repository at this point in the history
  • Loading branch information
gytis-ivaskevicius committed Jul 15, 2024
1 parent 5cd6e1f commit 8fef23a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions nix/cardano-services/deployments/backend-ingress.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,17 @@
};
}
])
++ (lib.optionals config.providers.chain-history-provider.enabled (
map (version: {
pathType = "Prefix";
path = "/v${version}/chain-history";
backend.service = {
name = "${chart.name}-chain-history-provider";
port.name = "http";
};
})
values.cardano-services.versions.chainHistory
))
++ [
{
pathType = "Prefix";
Expand All @@ -83,17 +94,6 @@
}
)
values.backend.routes)
++ lib.optionals config.providers.chain-history-provider.enabled (
map (version: {
pathType = "Prefix";
path = "/v${version}/chain-history";
backend.service = {
name = "${chart.name}-chain-history-provider";
port.name = "http";
};
})
values.cardano-services.versions.chainHistory
)
++ lib.optionals config.providers.stake-pool-provider.enabled [
{
pathType = "Prefix";
Expand Down

0 comments on commit 8fef23a

Please sign in to comment.