mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 06:28:50 +00:00
feat: returns ip instead of host for sql
This commit is contained in:
@@ -47,4 +47,5 @@ export const verifyHostInputValidity = async (host: string, isGateway = false) =
|
||||
|
||||
const isAppUsedIps = inputHostIps.some((el) => exclusiveIps.includes(el));
|
||||
if (isAppUsedIps) throw new BadRequestError({ message: "Invalid db host" });
|
||||
return inputHostIps;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user