mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 21:37:41 +08:00
fix(router): add rust locker url in proxy_bypass_urls (#2902)
This commit is contained in:
@ -110,11 +110,15 @@ pub(super) fn create_client(
|
|||||||
|
|
||||||
pub fn proxy_bypass_urls(locker: &Locker) -> Vec<String> {
|
pub fn proxy_bypass_urls(locker: &Locker) -> Vec<String> {
|
||||||
let locker_host = locker.host.to_owned();
|
let locker_host = locker.host.to_owned();
|
||||||
|
let locker_host_rs = locker.host_rs.to_owned();
|
||||||
let basilisk_host = locker.basilisk_host.to_owned();
|
let basilisk_host = locker.basilisk_host.to_owned();
|
||||||
vec![
|
vec![
|
||||||
format!("{locker_host}/cards/add"),
|
format!("{locker_host}/cards/add"),
|
||||||
format!("{locker_host}/cards/retrieve"),
|
format!("{locker_host}/cards/retrieve"),
|
||||||
format!("{locker_host}/cards/delete"),
|
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/addCard"),
|
||||||
format!("{locker_host}/card/getCard"),
|
format!("{locker_host}/card/getCard"),
|
||||||
format!("{locker_host}/card/deleteCard"),
|
format!("{locker_host}/card/deleteCard"),
|
||||||
|
|||||||
Reference in New Issue
Block a user