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
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:
parent
52f59bcfde
commit
6f7a80f689
2 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue