feat: database + service usage

This commit is contained in:
Andras Bacsai
2022-05-19 16:43:17 +02:00
parent 972f77c790
commit 1f25bc411f
6 changed files with 151 additions and 8 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 handleSubmit();
await post(`/applications/${id}.json`, { ...application });
}
domainEl.focus();
await getUsage();