Merge pull request #4308 from Infisical/fix-github-hostname-check

fix github hostname check
This commit is contained in:
x032205
2025-08-04 14:37:31 -04:00
committed by GitHub

View File

@@ -35,7 +35,7 @@ export const getGitHubInstanceApiUrl = async (config: {
}) => {
const host = config.credentials.host || "github.com";
await blockLocalAndPrivateIpAddresses(host);
await blockLocalAndPrivateIpAddresses(`https://${host}`);
let apiBase: string;
if (config.credentials.instanceType === "server") {