mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-27 10:05:32 +02:00
trim the ip address
This commit is contained in:
committed by
GitHub
parent
9763dce045
commit
661c517dfc
@@ -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