Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
fix(router): add rust locker url in proxy_bypass_urls (#2902)
Shankar Singh C9a201ae698c2
diff --git a/crates/router/src/services/api/client.rs b/crates/router/src/services/api/client.rsindex 8eb6ab72f9..cc7353dcda 100644--- a/crates/router/src/services/api/client.rs+++ b/crates/router/src/services/api/client.rs@@ -110,11 +110,15 @@ pub(super) fn create_client(pub fn proxy_bypass_urls(locker: &Locker) -> Vec<String> {let locker_host = locker.host.to_owned();+ let locker_host_rs = locker.host_rs.to_owned();let basilisk_host = locker.basilisk_host.to_owned();vec![format!("{locker_host}/cards/add"),format!("{locker_host}/cards/retrieve"),format!("{locker_host}/cards/delete"),+ format!("{locker_host_rs}/cards/add"),+ format!("{locker_host_rs}/cards/retrieve"),+ format!("{locker_host_rs}/cards/delete"),format!("{locker_host}/card/addCard"),format!("{locker_host}/card/getCard"),format!("{locker_host}/card/deleteCard"),