Skip to content

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.

fix: await

Andras Bacsai1951aec5ecaa
diff --git a/apps/ui/src/routes/applications/[id]/previews/index.svelte b/apps/ui/src/routes/applications/[id]/previews/index.svelte
index 2c50102839..87cebca7cd 100644
--- a/apps/ui/src/routes/applications/[id]/previews/index.svelte
+++ b/apps/ui/src/routes/applications/[id]/previews/index.svelte
@@ -144,7 +144,7 @@
loadBuildingStatusInterval = setInterval(() => {
application.previewApplication.forEach((preview: any) => {
if (status[id] === 'building') {
- getStatus(preview);
+ await getStatus(preview);
}
});
}, 3000);