Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit c0ea5da

Browse files
committed
chore: restore custom endpoint port logic
1 parent 00bc246 commit c0ea5da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ export class Bigtable {
521521
if (customEndpoint) {
522522
const customEndpointParts = customEndpoint.split(':');
523523
customEndpointBaseUrl = customEndpointParts[0];
524-
customEndpointPort = Number(customEndpointParts[1]);
524+
customEndpointPort = Number(customEndpointParts[1]) || 443;
525525
sslCreds = grpc.credentials.createInsecure();
526526
}
527527

0 commit comments

Comments
 (0)