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
get error correctly; closes 274
Sara Vieirab814c6e56343
diff --git a/src/routes/applications/[id]/index.svelte b/src/routes/applications/[id]/index.svelteindex 49f8009755..ff20d7f02f 100644--- a/src/routes/applications/[id]/index.svelte+++ b/src/routes/applications/[id]/index.svelte@@ -110,8 +110,8 @@await post(`/applications/${id}/check.json`, { fqdn: application.fqdn, forceSave });await post(`/applications/${id}.json`, { ...application });return window.location.reload();- } catch ({ error }) {- if (error.startsWith('DNS not set')) {+ } catch (error) {+ if (error?.startsWith('DNS not set')) {forceSave = true;}return errorNotification(error);