fix: Allow COLLABORATION_URL set with websocket protocol

This commit is contained in:
Tom Moor
2022-05-19 16:34:58 +01:00
parent 585a34d27e
commit 34576dd008

View File

@@ -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;