fix: re-add hostOverride arg to ConnectionOptions (#1694)

Fixes issue where hostOverride was no-longer passed through to
RemoteConnection
This commit is contained in:
Bert
2024-09-24 13:29:26 -03:00
committed by GitHub
parent d5021356b4
commit 3152ccd13c

View File

@@ -220,7 +220,8 @@ export async function connect(
region: partOpts.region ?? defaultRegion,
timeout: partOpts.timeout ?? defaultRequestTimeout,
readConsistencyInterval: partOpts.readConsistencyInterval ?? undefined,
storageOptions: partOpts.storageOptions ?? undefined
storageOptions: partOpts.storageOptions ?? undefined,
hostOverride: partOpts.hostOverride ?? undefined
}
if (opts.uri.startsWith("db://")) {
// Remote connection