mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
feat: integrate Basilisk locker for storing sensitive data (#34)
Co-authored-by: Manoj Ghorela <manoj.ghorela@manoj.ghorela-MacBookPro>
This commit is contained in:
@ -71,9 +71,14 @@ pub(super) fn create_client(
|
||||
// TODO: Move to env variable
|
||||
pub(super) fn proxy_bypass_urls(locker: &Locker) -> Vec<String> {
|
||||
let locker_host = locker.host.to_owned();
|
||||
let basilisk_host = locker.basilisk_host.to_owned();
|
||||
vec![
|
||||
format!("{locker_host}/card/addCard"),
|
||||
format!("{locker_host}/card/getCard"),
|
||||
format!("{locker_host}/card/deleteCard"),
|
||||
format!("{basilisk_host}/tokenize"),
|
||||
format!("{basilisk_host}/tokenize/get"),
|
||||
format!("{basilisk_host}/tokenize/delete"),
|
||||
format!("{basilisk_host}/tokenize/delete/token"),
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user