An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: Status is not available yet
Andras Bacsaif514aa676d7b
diff --git a/src/routes/applications/[id]/logs/build/build.json.ts b/src/routes/applications/[id]/logs/build/build.json.tsindex 38a51e043d..da6956939c 100644--- a/src/routes/applications/[id]/logs/build/build.json.ts+++ b/src/routes/applications/[id]/logs/build/build.json.ts@@ -14,12 +14,12 @@ export const get: RequestHandler = async (event) => {where: { buildId, time: { gt: sequence } },orderBy: { time: 'asc' }});- const { status } = await db.prisma.build.findFirst({ where: { id: buildId } });+ const data = await db.prisma.build.findFirst({ where: { id: buildId } });return {body: {logs,- status+ status: data?.status || 'running'}};} catch (error) {