Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update hc-vault-connection-fns.ts

Daniel Hougaard2dd329af83df
diff --git a/backend/src/services/app-connection/hc-vault/hc-vault-connection-fns.ts b/backend/src/services/app-connection/hc-vault/hc-vault-connection-fns.ts
index 9aaf412c3c..722bf38ebd 100644
--- a/backend/src/services/app-connection/hc-vault/hc-vault-connection-fns.ts
+++ b/backend/src/services/app-connection/hc-vault/hc-vault-connection-fns.ts
@@ -133,7 +133,7 @@ export const requestWithHCVaultGateway = async <T>(
const url = new URL(requestConfig.url as string);
await blockLocalAndPrivateIpAddresses(url.toString(), Boolean(gatewayId));
-
+
// If gateway isn't set up, don't proxy request
if (!gatewayId) {
return request.request(requestConfig);