Pass proxyUrl to LegacyCDS

This commit is contained in:
Fedor Indutny 2022-08-31 13:45:58 -07:00 committed by GitHub
parent dd12c4cba3
commit dda21701c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1129,6 +1129,7 @@ export function initialize({
path: `${URL_CALLS.attestation}/${directoryEnclaveId}`,
user: auth.username,
password: auth.password,
proxyUrl,
responseType: 'jsonwithdetails',
data,
timeout: 30000,
@ -1156,6 +1157,7 @@ export function initialize({
path: `${URL_CALLS.discovery}/${directoryEnclaveId}`,
user: auth.username,
password: auth.password,
proxyUrl,
responseType: 'json',
timeout: 30000,
data: JSON.stringify(data),