mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-22 20:08:46 +00:00
trim ip address
This commit is contained in:
@@ -91,7 +91,7 @@ export const CreateServer = ({ stepper }: Props) => {
|
|||||||
await mutateAsync({
|
await mutateAsync({
|
||||||
name: data.name,
|
name: data.name,
|
||||||
description: data.description || "",
|
description: data.description || "",
|
||||||
ipAddress: data.ipAddress || "",
|
ipAddress: data.ipAddress?.trim() || "",
|
||||||
port: data.port || 22,
|
port: data.port || 22,
|
||||||
username: data.username || "root",
|
username: data.username || "root",
|
||||||
sshKeyId: data.sshKeyId || "",
|
sshKeyId: data.sshKeyId || "",
|
||||||
|
|||||||
Reference in New Issue
Block a user