From 6958f1cfbd43d4d0cbfebd9b46d84d566772d6bc Mon Sep 17 00:00:00 2001 From: x032205 Date: Mon, 4 Aug 2025 14:24:09 -0400 Subject: [PATCH] fix github hostname check --- .../src/services/app-connection/github/github-connection-fns.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") {