From 5c4912feb4a21ed01aee003f6259e7eaabcbfef5 Mon Sep 17 00:00:00 2001 From: devlikepro Date: Mon, 26 Aug 2024 16:41:26 +0700 Subject: [PATCH] [core] accept localhost url --- src/structures/webhooks.config.dto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/webhooks.config.dto.ts b/src/structures/webhooks.config.dto.ts index deb6cae7..3e308a26 100644 --- a/src/structures/webhooks.config.dto.ts +++ b/src/structures/webhooks.config.dto.ts @@ -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({