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:
@ -726,7 +726,7 @@ export class EnvironmentVariables {
|
||||
})
|
||||
@IsOptional()
|
||||
@IsUrl({
|
||||
protocols: ['redis'],
|
||||
protocols: ['redis', 'rediss'],
|
||||
require_tld: false,
|
||||
allow_underscores: true,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user