diff --git a/apps/api/tsconfig.json b/apps/api/tsconfig.json index 3c0b02bc0..e47c6267d 100644 --- a/apps/api/tsconfig.json +++ b/apps/api/tsconfig.json @@ -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"] } diff --git a/apps/dokploy/server/utils/deploy.ts b/apps/dokploy/server/utils/deploy.ts index eced60b45..02eb1b822 100644 --- a/apps/dokploy/server/utils/deploy.ts +++ b/apps/dokploy/server/utils/deploy.ts @@ -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;