mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
fix: fix bot url length (#504)
This commit is contained in:
parent
8ea69fb4ae
commit
bd6af3380b
@ -189,7 +189,7 @@ export const AddBotSubmitSchema: Yup.SchemaOf<AddBotSubmit> = Yup.object({
|
|||||||
url: Yup.string()
|
url: Yup.string()
|
||||||
.matches(HTTPProtocol, 'http:// 또는 https:// 로 시작해야합니다.')
|
.matches(HTTPProtocol, 'http:// 또는 https:// 로 시작해야합니다.')
|
||||||
.matches(Url, '올바른 초대링크 URL을 입력해주세요.')
|
.matches(Url, '올바른 초대링크 URL을 입력해주세요.')
|
||||||
.max(128, 'URL은 최대 128자까지만 가능합니다.')
|
.max(612, 'URL은 최대 612자까지만 가능합니다.')
|
||||||
.nullable(),
|
.nullable(),
|
||||||
git: Yup.string()
|
git: Yup.string()
|
||||||
.matches(HTTPProtocol, 'http:// 또는 https:// 로 시작해야합니다.')
|
.matches(HTTPProtocol, 'http:// 또는 https:// 로 시작해야합니다.')
|
||||||
@ -314,7 +314,7 @@ export const ManageBotSchema: Yup.SchemaOf<ManageBot> = Yup.object({
|
|||||||
url: Yup.string()
|
url: Yup.string()
|
||||||
.matches(HTTPProtocol, 'http:// 또는 https:// 로 시작해야합니다.')
|
.matches(HTTPProtocol, 'http:// 또는 https:// 로 시작해야합니다.')
|
||||||
.matches(Url, '올바른 초대링크 URL을 입력해주세요.')
|
.matches(Url, '올바른 초대링크 URL을 입력해주세요.')
|
||||||
.max(128, 'URL은 최대 128자까지만 가능합니다.')
|
.max(612, 'URL은 최대 612자까지만 가능합니다.')
|
||||||
.nullable(),
|
.nullable(),
|
||||||
git: Yup.string()
|
git: Yup.string()
|
||||||
.matches(HTTPProtocol, 'http:// 또는 https:// 로 시작해야합니다.')
|
.matches(HTTPProtocol, 'http:// 또는 https:// 로 시작해야합니다.')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user