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
Update handlers.ts
Andras Bacsaibfa5fb6f164b
diff --git a/apps/api/src/routes/api/v1/destinations/handlers.ts b/apps/api/src/routes/api/v1/destinations/handlers.tsindex 9910a2ba75..f310f8a61d 100644--- a/apps/api/src/routes/api/v1/destinations/handlers.ts+++ b/apps/api/src/routes/api/v1/destinations/handlers.ts@@ -60,7 +60,7 @@ export async function getDestination(request: FastifyRequest<OnlyId>) {throw { status: 404, message: `Destination not found.` };}const settings = await listSettings();- let payload = {+ const payload = {destination,settings};@@ -222,7 +222,7 @@ export async function verifyRemoteDockerEngine(request: FastifyRequest, reply: Fif (!coolifyNetwork) {await asyncExecShell(`DOCKER_HOST=${host} docker network create --attachable coolify-infra`);-+ }await prisma.destinationDocker.update({ where: { id }, data: { remoteVerified: true } })return reply.code(201).send()