Skip to content

Commit

Permalink
Added to check if the WEBSOCKET_URL is not undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
david-macpherson committed Feb 22, 2024
1 parent ede1e31 commit dab568a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/SPSApplication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit dab568a

Please sign in to comment.