Skip to content

Commit

Permalink
[core-amqp] revert parameters.config.host to connectionConfig.host ch…
Browse files Browse the repository at this point in the history
…ange
  • Loading branch information
chradek committed Dec 17, 2020
1 parent 14087df commit 06f1d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/core/core-amqp/src/ConnectionContextBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export const ConnectionContextBase = {
(!isNode && typeof window !== "undefined" && (window as any).WebSocket)
) {
const socket = parameters.config.webSocket || (window as any).WebSocket;
const host = connectionOptions.host;
const host = parameters.config.host;
const endpoint = parameters.config.webSocketEndpointPath || "";
const socketOptions = parameters.config.webSocketConstructorOptions || {};
const port = parameters.config.port ?? 443;
Expand Down

0 comments on commit 06f1d8c

Please sign in to comment.