misc: added sni

This commit is contained in:
Sheen Capadngan
2025-12-11 00:33:25 +08:00
parent 45350a68aa
commit ff9644a14d

View File

@@ -51,7 +51,8 @@ export const executeWithGateway = async <T>(
}
const httpsAgent = new https.Agent({
ca: connectionDetails.sslCertificate,
rejectUnauthorized: connectionDetails.sslRejectUnauthorized
rejectUnauthorized: connectionDetails.sslRejectUnauthorized,
servername: targetHost
});
return withGatewayV2Proxy(
async (proxyPort) => {