refactor(dokploy): update status

This commit is contained in:
Mauricio Siu 2024-10-29 02:39:33 -06:00
parent b5cf59e743
commit 2a01566c34
2 changed files with 11 additions and 1 deletions

View File

@ -7,7 +7,12 @@
"skipLibCheck": true,
"outDir": "dist",
"jsx": "react-jsx",
"jsxImportSource": "hono/jsx"
"jsxImportSource": "hono/jsx",
"baseUrl": ".",
"paths": {
"@/*": ["./*"],
"@dokploy/server/*": ["../../packages/server/src/*"]
}
},
"exclude": ["node_modules", "dist"]
}

View File

@ -18,6 +18,11 @@ export const deploy = async (jobData: DeploymentJob) => {
},
body: JSON.stringify(jobData),
});
console.log("Status:", result.status);
console.log("Content-Type:", result.headers.get("content-type"));
console.log("Body:", await result.text());
console.log(result);
const data = await result.json();
console.log(data);
return data;