fix: create dns record content too long(#63)
This commit is contained in:
@@ -57,7 +57,7 @@ export default function HeroLanding({
|
||||
className="shadow-sm"
|
||||
/> */}
|
||||
<Link
|
||||
href="/docs"
|
||||
href="/docs/developer"
|
||||
prefetch={true}
|
||||
className={cn(
|
||||
buttonVariants({ rounded: "xl", size: "lg", variant: "outline" }),
|
||||
|
||||
@@ -33,12 +33,8 @@ export const createUserRecordSchema = z.object({
|
||||
.string()
|
||||
.regex(/^[a-zA-Z0-9-_.]+$/, "Invalid characters")
|
||||
.min(1)
|
||||
.max(32),
|
||||
content: z
|
||||
.string()
|
||||
// .regex(/^[a-zA-Z0-9-.]+$/, "Invalid characters")
|
||||
.min(1)
|
||||
.max(32),
|
||||
.max(64),
|
||||
content: z.string().min(1).max(1024),
|
||||
ttl: z.number().min(1).max(36000).default(1),
|
||||
proxied: z.boolean().default(false),
|
||||
proxiable: z.boolean().default(true),
|
||||
|
||||
+1
-1
@@ -393,7 +393,7 @@
|
||||
"onePlatformPowers": " ",
|
||||
"endlessSolutions": "一站式域名服务平台",
|
||||
"platformDescription": "集成短链生成、子域名托管、无限邮箱服务,以及开放API接口,一站式域名管理解决方案,释放你的域名潜力",
|
||||
"documents": "参考文档",
|
||||
"documents": "部署文档",
|
||||
"signInForFree": "免费登录",
|
||||
"exampleImageAlt": "示例",
|
||||
"urlShorteningTitle": "短链生成器",
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user