This commit is contained in:
Nevo David 2026-01-07 20:39:15 +07:00
parent 774d29d798
commit 96661cc30d
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ export class ValidUrlPath implements ValidatorConstraintInterface {
defaultMessage(args: ValidationArguments) { defaultMessage(args: ValidationArguments) {
// here you can provide default error message if validation failed // here you can provide default error message if validation failed
return ( return (
'URL must contain the domain: ' + process.env.RESTRICT_UPLOAD_DOMAINS 'URL must contain the domain: ' + process.env.RESTRICT_UPLOAD_DOMAINS + ' Make sure you first use the upload API route.'
); );
} }
} }