From 67695d9b90fb812ce89a9c41f7316a9aafe26d83 Mon Sep 17 00:00:00 2001 From: Junseo Park Date: Sun, 28 Feb 2021 11:25:22 +0900 Subject: [PATCH] chore: increased webhook url max length feat: https://github.com/koreanbots/v2-testing/issues/59 --- utils/Yup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/Yup.ts b/utils/Yup.ts index 7c1dff4..275e649 100644 --- a/utils/Yup.ts +++ b/utils/Yup.ts @@ -135,7 +135,7 @@ export const ManageBotSchema = Yup.object({ }) export const DeveloperBotSchema: Yup.SchemaOf = Yup.object({ - webhook: Yup.string().matches(HTTPProtocol, 'http:// 또는 https:// 로 시작해야합니다.').matches(Url, '올바른 웹훅 URL을 입력해주세요.').max(64, 'URL은 최대 64자까지만 가능합니다.'), + webhook: Yup.string().matches(HTTPProtocol, 'http:// 또는 https:// 로 시작해야합니다.').matches(Url, '올바른 웹훅 URL을 입력해주세요.').max(150, 'URL은 최대 150자까지만 가능합니다.'), _csrf: Yup.string().required() })