fix: Demo version forms

This commit is contained in:
Andras Bacsai
2022-05-31 23:09:55 +02:00
parent 2719974262
commit d67a3f51ec
2 changed files with 19 additions and 3 deletions

View File

@@ -102,7 +102,7 @@
onMount(async () => {
if (browser && window.location.hostname === 'demo.coolify.io' && !application.fqdn) {
application.fqdn = `http://${cuid()}.demo.coolify.io`;
await post(`/applications/${id}.json`, { ...application });
await handleSubmit();
}
domainEl.focus();
await getUsage();