From bd6af3380bc774f704dd20be0f238cd8aa17bd4a Mon Sep 17 00:00:00 2001 From: Byungchul Kim <64084503+chul0721@users.noreply.github.com> Date: Sat, 6 Aug 2022 10:42:32 +0900 Subject: [PATCH] fix: fix bot url length (#504) --- utils/Yup.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/Yup.ts b/utils/Yup.ts index 8e9980b..a10b6d4 100644 --- a/utils/Yup.ts +++ b/utils/Yup.ts @@ -189,7 +189,7 @@ export const AddBotSubmitSchema: Yup.SchemaOf = Yup.object({ url: Yup.string() .matches(HTTPProtocol, 'http:// 또는 https:// 로 시작해야합니다.') .matches(Url, '올바른 초대링크 URL을 입력해주세요.') - .max(128, 'URL은 최대 128자까지만 가능합니다.') + .max(612, 'URL은 최대 612자까지만 가능합니다.') .nullable(), git: Yup.string() .matches(HTTPProtocol, 'http:// 또는 https:// 로 시작해야합니다.') @@ -314,7 +314,7 @@ export const ManageBotSchema: Yup.SchemaOf = Yup.object({ url: Yup.string() .matches(HTTPProtocol, 'http:// 또는 https:// 로 시작해야합니다.') .matches(Url, '올바른 초대링크 URL을 입력해주세요.') - .max(128, 'URL은 최대 128자까지만 가능합니다.') + .max(612, 'URL은 최대 612자까지만 가능합니다.') .nullable(), git: Yup.string() .matches(HTTPProtocol, 'http:// 또는 https:// 로 시작해야합니다.')