[core] accept localhost url

This commit is contained in:
devlikepro committed 2024-08-27 16:44:25 +07:00
1 parent 75e115f390
commit 5c4912feb4
1 file changed
+1 -1
+1 -1
View File
@@ -57,7 +57,7 @@ export class WebhookConfig {
description:
'You can use https://docs.webhook.site/ to test webhooks and see the payload',
})
@IsUrl({ require_protocol: true })
@IsUrl({ require_protocol: true, require_tld: false })
url: string;
@ApiProperty({