trim ip address

This commit is contained in:
Haouari haitam Kouider
2025-08-15 15:14:26 +00:00
committed by GitHub
parent 661c517dfc
commit b6cbf9127d

View File

@@ -91,7 +91,7 @@ export const CreateServer = ({ stepper }: Props) => {
await mutateAsync({
name: data.name,
description: data.description || "",
ipAddress: data.ipAddress || "",
ipAddress: data.ipAddress?.trim() || "",
port: data.port || 22,
username: data.username || "root",
sshKeyId: data.sshKeyId || "",