Merge pull request #240 from coollabsio/init-fqdn

v2.2.2
This commit is contained in:
Andras Bacsai 2022-03-28 15:24:37 +02:00 committed by GitHub
commit 01b058151b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"name": "coolify",
"description": "An open-source & self-hostable Heroku / Netlify alternative.",
"version": "2.2.1",
"version": "2.2.2",
"license": "AGPL-3.0",
"scripts": {
"dev": "docker-compose -f docker-compose-dev.yaml up -d && NODE_ENV=development svelte-kit dev",

View File

@ -109,7 +109,7 @@
try {
await post(`/applications/${id}/check.json`, { fqdn: application.fqdn, forceSave });
await post(`/applications/${id}.json`, { ...application });
return toast.push('Configurations saved.');
return window.location.reload();
} catch ({ error }) {
if (error.startsWith('DNS not set')) {
forceSave = true;