fix/REDIS_URL-has-failed-the-following-constraints-isUrl (#11082)

Added 'rediss' in protocols array so that url doesn't fail isUrl
constraint
This commit is contained in:
Ayush
2025-03-21 03:08:27 +05:30
committed by GitHub
parent 8309575a94
commit 8c982653cf

View File

@ -726,7 +726,7 @@ export class EnvironmentVariables {
})
@IsOptional()
@IsUrl({
protocols: ['redis'],
protocols: ['redis', 'rediss'],
require_tld: false,
allow_underscores: true,
})