From 9f2a3ba95577ee7e276097bea10077e089c540cd Mon Sep 17 00:00:00 2001 From: Tiago Farto Date: Fri, 22 Dec 2023 13:42:17 +0000 Subject: [PATCH] chore: fix length --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index e5ce2f2d..780611f5 100644 --- a/src/client.ts +++ b/src/client.ts @@ -238,7 +238,7 @@ export class StreamClient 0) { + if (location) { this.location = location; } this.baseUrl = this.getBaseUrl();