mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-20 12:04:29 +00:00
trim ip address
This commit is contained in:
@@ -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 || "",
|
||||
|
||||
Reference in New Issue
Block a user