v1.10.0 #471
@@ -774,6 +774,13 @@ router.get(
|
|||||||
quickActions: sshData.quickActions,
|
quickActions: sshData.quickActions,
|
||||||
notes: sshData.notes,
|
notes: sshData.notes,
|
||||||
expirationDate: sshData.expirationDate,
|
expirationDate: sshData.expirationDate,
|
||||||
|
enableDocker: sshData.enableDocker,
|
||||||
|
useSocks5: sshData.useSocks5,
|
||||||
|
socks5Host: sshData.socks5Host,
|
||||||
|
socks5Port: sshData.socks5Port,
|
||||||
|
socks5Username: sshData.socks5Username,
|
||||||
|
socks5Password: sshData.socks5Password,
|
||||||
|
socks5ProxyChain: sshData.socks5ProxyChain,
|
||||||
|
|
||||||
// Shared access info
|
// Shared access info
|
||||||
isShared: sql<boolean>`${hostAccess.id} IS NOT NULL`,
|
isShared: sql<boolean>`${hostAccess.id} IS NOT NULL`,
|
||||||
|
|||||||
@@ -924,11 +924,6 @@ export async function createSSHHost(hostData: SSHHostData): Promise<SSHHost> {
|
|||||||
? hostData.statsConfig
|
? hostData.statsConfig
|
||||||
: JSON.stringify(hostData.statsConfig)
|
: JSON.stringify(hostData.statsConfig)
|
||||||
: null,
|
: null,
|
||||||
dockerConfig: hostData.dockerConfig
|
|
||||||
? typeof hostData.dockerConfig === "string"
|
|
||||||
? hostData.dockerConfig
|
|
||||||
: JSON.stringify(hostData.dockerConfig)
|
|
||||||
: null,
|
|
||||||
terminalConfig: hostData.terminalConfig || null,
|
terminalConfig: hostData.terminalConfig || null,
|
||||||
forceKeyboardInteractive: Boolean(hostData.forceKeyboardInteractive),
|
forceKeyboardInteractive: Boolean(hostData.forceKeyboardInteractive),
|
||||||
notes: hostData.notes || "",
|
notes: hostData.notes || "",
|
||||||
@@ -1004,11 +999,6 @@ export async function updateSSHHost(
|
|||||||
? hostData.statsConfig
|
? hostData.statsConfig
|
||||||
: JSON.stringify(hostData.statsConfig)
|
: JSON.stringify(hostData.statsConfig)
|
||||||
: null,
|
: null,
|
||||||
dockerConfig: hostData.dockerConfig
|
|
||||||
? typeof hostData.dockerConfig === "string"
|
|
||||||
? hostData.dockerConfig
|
|
||||||
: JSON.stringify(hostData.dockerConfig)
|
|
||||||
: null,
|
|
||||||
terminalConfig: hostData.terminalConfig || null,
|
terminalConfig: hostData.terminalConfig || null,
|
||||||
forceKeyboardInteractive: Boolean(hostData.forceKeyboardInteractive),
|
forceKeyboardInteractive: Boolean(hostData.forceKeyboardInteractive),
|
||||||
notes: hostData.notes || "",
|
notes: hostData.notes || "",
|
||||||
|
|||||||
Reference in New Issue
Block a user