diff --git a/apps/admin/app/dashboard/server/node-form.tsx b/apps/admin/app/dashboard/server/node-form.tsx index 0d68fa7..1b3ccef 100644 --- a/apps/admin/app/dashboard/server/node-form.tsx +++ b/apps/admin/app/dashboard/server/node-form.tsx @@ -64,7 +64,7 @@ const trojanSchema = z.object({ port: z.number(), network: z.string(), sni: z.string().nullish(), - allow_insecure: z.boolean().nullable(), + allow_insecure: z.boolean().nullish(), transport: z.any().nullable(), enable_relay: z.boolean().nullish(), relay_host: z.string().nullish(), @@ -1433,7 +1433,7 @@ export default function NodeForm({ { form.setValue(field.name, value); }}