From 5124aa7a70d3f18704e94fc615030c7fe00c380a Mon Sep 17 00:00:00 2001 From: souvik Date: Mon, 2 Oct 2023 17:10:53 +0530 Subject: [PATCH] Update client.ts --- src/adapters/http/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adapters/http/client.ts b/src/adapters/http/client.ts index 18a9d5197..3ca398eb9 100644 --- a/src/adapters/http/client.ts +++ b/src/adapters/http/client.ts @@ -31,7 +31,7 @@ class HttpClientAdapter extends Adapter { !channelServers.length || channelServers.includes(message.serverName) if (httpChannelBinding && isChannelServers) { const method = httpChannelBinding.json().method - let url = new URL(this.AsyncAPIServer.url() + this.parsedAsyncAPI.channels().get(channelName).address()) + let url = new URL( serverUrl + this.parsedAsyncAPI.channels().get(channelName).address()) const gleeAuth = new GleeAuth( this.AsyncAPIServer, this.parsedAsyncAPI,