Skip to content

Commit

Permalink
fix(router): add rust locker url in proxy_bypass_urls (#2902)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShankarSinghC authored Nov 17, 2023
1 parent c39beb2 commit 9a201ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/router/src/services/api/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 9a201ae

Please sign in to comment.