chore(version): bump version

This commit is contained in:
Mauricio Siu
2024-10-30 21:48:19 -06:00
parent 97715a47b3
commit 6c92e6efc9
17 changed files with 14 additions and 31 deletions

View File

@@ -49,7 +49,6 @@ export const deploy = async (job: DeployJob) => {
}
}
} catch (error) {
console.log(error);
if (job.applicationType === "application") {
await updateApplicationStatus(job.applicationId, "error");
} else if (job.applicationType === "compose") {

View File

@@ -37,7 +37,6 @@ export const ShowDeployment = ({ logPath, open, onClose, serverId }: Props) => {
};
ws.onclose = () => {
console.log("WebSocket connection closed");
wsRef.current = null; // Clear reference on close
};

View File

@@ -43,7 +43,6 @@ export const ShowDeploymentCompose = ({
};
ws.onclose = () => {
console.log("WebSocket connection closed");
wsRef.current = null;
};

View File

@@ -30,7 +30,6 @@ export const DockerLogsId: React.FC<Props> = ({
}
if (wsRef.current) {
console.log(wsRef.current);
if (wsRef.current.readyState === WebSocket.OPEN) {
wsRef.current.close();
}

View File

@@ -38,7 +38,10 @@ export const TerminalModal = ({ children, serverId }: Props) => {
{children}
</DropdownMenuItem>
</DialogTrigger>
<DialogContent className="max-h-screen overflow-y-auto sm:max-w-7xl">
<DialogContent
className="max-h-screen overflow-y-auto sm:max-w-7xl"
onEscapeKeyDown={(event) => event.preventDefault()}
>
<DialogHeader className="flex flex-col gap-1">
<DialogTitle>Terminal ({data?.name})</DialogTitle>
<DialogDescription>Easy way to access the server</DialogDescription>

View File

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

View File

@@ -20,10 +20,8 @@ export const schedule = async (job: QueueJob) => {
body: JSON.stringify(job),
});
const data = await result.json();
console.log(data);
return data;
} catch (error) {
console.log(error);
throw error;
}
};
@@ -39,10 +37,8 @@ export const removeJob = async (job: QueueJob) => {
body: JSON.stringify(job),
});
const data = await result.json();
console.log(data);
return data;
} catch (error) {
console.log(error);
throw error;
}
};
@@ -58,10 +54,8 @@ export const updateJob = async (job: QueueJob) => {
body: JSON.stringify(job),
});
const data = await result.json();
console.log(data);
return data;
} catch (error) {
console.log(error);
throw error;
}
};

View File

@@ -18,10 +18,8 @@ export const deploy = async (jobData: DeploymentJob) => {
});
const data = await result.json();
console.log(data);
return data;
} catch (error) {
console.log(error);
throw error;
}
};

View File

@@ -62,9 +62,6 @@ export const setupDockerContainerTerminalWebSocketServer = (
stream
.on("close", (code: number, signal: string) => {
console.log(
`Stream :: close :: code: ${code}, signal: ${signal}`,
);
ws.send(`\nContainer closed with code: ${code}\n`);
conn.end();
})