From 34576dd008f8045f1550f86051aba9815d893394 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 19 May 2022 16:34:58 +0100 Subject: [PATCH] fix: Allow COLLABORATION_URL set with websocket protocol --- server/env.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/env.ts b/server/env.ts index d562ff047..7c59caae5 100644 --- a/server/env.ts +++ b/server/env.ts @@ -130,7 +130,7 @@ export class Environment { * The fully qualified, external facing domain name of the collaboration * service, if different (unlikely) */ - @IsUrl({ require_tld: false }) + @IsUrl({ require_tld: false, protocols: ["http", "https", "ws", "wss"] }) @IsOptional() public COLLABORATION_URL = process.env.COLLABORATION_URL;