refactor(dokploy): add log for jobdata

This commit is contained in:
Mauricio Siu 2024-10-29 02:11:51 -06:00
parent 92eaa1a470
commit b5cf59e743

View File

@ -7,6 +7,9 @@ export const deploy = async (jobData: DeploymentJob) => {
if (server.serverStatus === "inactive") {
throw new Error("Server is inactive");
}
console.log(jobData);
console.log(`${process.env.SERVER_URL}/deploy`);
const result = await fetch(`${process.env.SERVER_URL}/deploy`, {
method: "POST",
headers: {