diff --git a/backend/src/services/app-connection/github/github-connection-fns.ts b/backend/src/services/app-connection/github/github-connection-fns.ts index f93ffc56d..e4bd2e10d 100644 --- a/backend/src/services/app-connection/github/github-connection-fns.ts +++ b/backend/src/services/app-connection/github/github-connection-fns.ts @@ -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") {