From cd59d44435d00425bd380c694c0098c47669dd87 Mon Sep 17 00:00:00 2001 From: "web@ppanel" Date: Mon, 30 Dec 2024 20:59:35 +0700 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(schema):=20Add=20security=20fi?= =?UTF-8?q?eld=20to=20hysteria2=20and=20tuic=20schemas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin/app/dashboard/server/form-schema.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/admin/app/dashboard/server/form-schema.ts b/apps/admin/app/dashboard/server/form-schema.ts index bc1dc3b..8b1ccfd 100644 --- a/apps/admin/app/dashboard/server/form-schema.ts +++ b/apps/admin/app/dashboard/server/form-schema.ts @@ -51,11 +51,13 @@ const hysteria2Schema = z.object({ hop_ports: nullableString, hop_interval: z.number().nullish(), obfs_password: nullableString, + security: z.string(), security_config: securityConfigSchema, }); const tuicSchema = z.object({ port: portSchema, + security: z.string(), security_config: securityConfigSchema, });