From 2e0dc6aa12430a8e3796d4ef9d26f74f01c3b63f Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 1 Feb 2023 12:14:33 +0800 Subject: [PATCH] add subdomain text limit --- schemas/domain.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/domain.json b/schemas/domain.json index 63c1e2a..b1972ea 100644 --- a/schemas/domain.json +++ b/schemas/domain.json @@ -13,7 +13,7 @@ }, "subdomain": { "type": "string", - "pattern": "^([a-z0-9_*.-]{1,}|@)$" + "pattern": "^([a-z0-9_*.-]{1,63}|@)$" }, "owner": { "type": "object",