🐛 fix(node): Service Name config

This commit is contained in:
web@ppanel 2024-12-12 23:34:49 +07:00
parent fadd17f4d1
commit d0be6854e6
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ const transportConfigSchema = z
.object({ .object({
path: nullableString, path: nullableString,
host: nullableString, host: nullableString,
server_name: nullableString, service_name: nullableString,
}) })
.nullish(); .nullish();

View File

@ -558,10 +558,10 @@ export default function NodeForm<T extends { [x: string]: any }>({
{['grpc'].includes(transport) && ( {['grpc'].includes(transport) && (
<FormField <FormField
control={form.control} control={form.control}
name='config.transport_config.server_name' name='config.transport_config.service_name'
render={({ field }) => ( render={({ field }) => (
<FormItem> <FormItem>
<FormLabel>Server Name</FormLabel> <FormLabel>Service Name</FormLabel>
<FormControl> <FormControl>
<EnhancedInput <EnhancedInput
{...field} {...field}