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: Small fixes
Andras Bacsaif9a223270342
diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelteindex d8e185a137..c4912a8973 100644--- a/src/routes/__layout.svelte+++ b/src/routes/__layout.svelte@@ -96,10 +96,9 @@async function update() {updateStatus.loading = true;- // if (!dev) {try {await post(`/update.json`, { type: 'update', latestVersion });- toast.push('Update completed. Waiting for the new version to start...');+ toast.push('Update completed.<br><br>Waiting for the new version to start...');let reachable = false;let tries = 0;do {@@ -119,10 +118,9 @@await asyncSleep(3000);return window.location.reload();} catch ({ error }) {- return errorNotification(error);- } finally {updateStatus.success = false;updateStatus.loading = false;+ return errorNotification(error);}}</script>diff --git a/src/routes/update.json.ts b/src/routes/update.json.tsindex 5c0e1581e4..1cfdc5f501 100644--- a/src/routes/update.json.ts+++ b/src/routes/update.json.ts@@ -36,8 +36,6 @@ export const post: RequestHandler = async (event) => {body: {}};} else {- await asyncExecShell(`docker pull coollabsio/coolify:${latestVersion}`);- await asyncSleep(2000);return {status: 200,body: {}