From dab568af7f1b6b5eec87842faec88ddbca281032 Mon Sep 17 00:00:00 2001 From: David MacPherson Date: Thu, 22 Feb 2024 16:03:07 +1000 Subject: [PATCH] Added to check if the WEBSOCKET_URL is not undefined --- library/src/SPSApplication.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/SPSApplication.ts b/library/src/SPSApplication.ts index 5d0f328f..4262ef5e 100644 --- a/library/src/SPSApplication.ts +++ b/library/src/SPSApplication.ts @@ -61,7 +61,7 @@ export class SPSApplication extends Application { this.stream.setSignallingUrlBuilder(() => { // if we have overriden the signalling server URL with a .env file use it here - if (WEBSOCKET_URL) { + if (WEBSOCKET_URL !== undefined) { return WEBSOCKET_URL as string; }