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: application state in UI
Andras Bacsai8b8b45778d99
diff --git a/src/routes/applications/[id]/__layout.svelte b/src/routes/applications/[id]/__layout.svelteindex 3a04337e47..2c979a4ab0 100644--- a/src/routes/applications/[id]/__layout.svelte+++ b/src/routes/applications/[id]/__layout.svelte@@ -86,7 +86,7 @@async function handleDeploySubmit() {try {const { buildId } = await post(`/applications/${id}/deploy.json`, { ...application });- return window.location.assign(`/applications/${id}/logs/build?buildId=${buildId}`);+ return await goto(`/applications/${id}/logs/build?buildId=${buildId}`);} catch ({ error }) {return errorNotification(error);}@@ -108,7 +108,7 @@try {loading = true;await post(`/applications/${id}/stop.json`, {});- return window.location.reload();+ isRunning = false;} catch ({ error }) {return errorNotification(error);} finally {diff --git a/src/routes/applications/[id]/logs/build/index.svelte b/src/routes/applications/[id]/logs/build/index.svelteindex f88985265c..d81159d9d6 100644--- a/src/routes/applications/[id]/logs/build/index.svelte+++ b/src/routes/applications/[id]/logs/build/index.svelte@@ -51,9 +51,10 @@build.took = data.builds[0].took;build.since = data.builds[0].since;}+return build;});- return;+ return window.location.reload();} catch ({ error }) {return errorNotification(error);}