From b5977627de127ff9718a7a5827e6f8a3fbb70253 Mon Sep 17 00:00:00 2001 From: Ian Torres Date: Fri, 20 Jun 2025 17:08:27 -0400 Subject: [PATCH] Using host. --- stores/services.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stores/services.ts b/stores/services.ts index e627a82..c7007e3 100644 --- a/stores/services.ts +++ b/stores/services.ts @@ -67,7 +67,7 @@ export const useServices = defineStore('services', () => { }) const schema = z.object({ - ip_address: z.string().ip({ version: "v4", message: t('forms.ip_address.on_error') }), + ip_address: z.string(), // @ts-ignore: This is-as documentation said. value_size: z.enum(attributes.value.value_sizes), port: z.number().max(65535, t('forms.port.on_error')), @@ -77,7 +77,7 @@ export const useServices = defineStore('services', () => { type Schema = z.output const state = reactive>({ - ip_address: '127.0.0.1', + ip_address: 'throttr-server', value_size: 'UINT16', port: 9000, connections: 1,