mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-23 21:42:19 +00:00
trim the ip address
This commit is contained in:
@@ -112,7 +112,7 @@ export const HandleServers = ({ serverId }: 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 || "",
|
||||
|
||||
Reference in New Issue
Block a user