chore: bump version

This commit is contained in:
Mauricio Siu
2024-12-29 18:08:20 -06:00
parent da148a6c50
commit 0f1b911236
2 changed files with 4 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "dokploy", "name": "dokploy",
"version": "v0.16.0", "version": "v0.16.1",
"private": true, "private": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"type": "module", "type": "module",

View File

@@ -12,7 +12,7 @@ export const getPublicIpWithFallback = async () => {
ip = await publicIpv4(); ip = await publicIpv4();
} catch (error) { } catch (error) {
console.log( console.log(
"Error obtaining public IPv4 address, falling back to IPv6", "Error to obtain public IPv4 address, falling back to IPv6",
// @ts-ignore // @ts-ignore
error.message, error.message,
); );
@@ -20,7 +20,7 @@ export const getPublicIpWithFallback = async () => {
ip = await publicIpv6(); ip = await publicIpv6();
} catch (error) { } catch (error) {
// @ts-ignore // @ts-ignore
console.error("Error obtaining public IPv6 address", error.message); console.error("Error to obtain public IPv6 address", error.message);
ip = null; ip = null;
} }
} }
@@ -84,7 +84,6 @@ export const setupTerminalWebSocketServer = (
privateKey, privateKey,
}; };
} else { } else {
ws.send("Getting server data...\n");
const server = await findServerById(serverId); const server = await findServerById(serverId);
if (!server) { if (!server) {
@@ -162,7 +161,7 @@ export const setupTerminalWebSocketServer = (
`Authentication failed: Unauthorized ${isLocalServer ? "" : "private SSH key or "}username.\n❌ Error: ${err.message} ${err.level}`, `Authentication failed: Unauthorized ${isLocalServer ? "" : "private SSH key or "}username.\n❌ Error: ${err.message} ${err.level}`,
); );
} else { } else {
ws.send(`SSH connection error: ${err.message}`); ws.send(`SSH connection error: ${err.message}`);
} }
conn.end(); conn.end();
}) })