feat: steam url fix
Some checks failed
Build Containers / build-containers-common (push) Has been cancelled
Build / build (22.12.0) (push) Has been cancelled
Build Containers / build-containers (amd64, ubuntu-latest) (push) Has been cancelled
Build Containers / build-containers (arm64, ubuntu-24.04-arm) (push) Has been cancelled
Build Containers / build-container-manifest (push) Has been cancelled

This commit is contained in:
Nevo David 2026-03-29 13:41:13 +07:00
parent 52f59bcfde
commit 6f7a80f689
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ export class IsSafeWebhookUrlConstraint implements ValidatorConstraintInterface
}
defaultMessage(_args: ValidationArguments): string {
return 'Webhook URL must be a public HTTPS URL and must not resolve to localhost, private, loopback, or link-local addresses';
return 'URL must be a public HTTPS URL and must not resolve to localhost, private, loopback, or link-local addresses';
}
private isBlockedIp(ip: string): boolean {

View file

@ -31,7 +31,7 @@ export class OnlyURL {
@IsDefined()
@IsSafeWebhookUrl({
message:
'Webhook URL must be a public HTTPS URL and cannot point to internal network addresses',
'URL must be a public HTTPS URL and cannot point to internal network addresses',
})
url: string;
}