fixed a bug related with start time

This commit is contained in:
2025-12-31 16:18:50 +01:00
parent 2668bc5e72
commit 20261159a4
2 changed files with 7 additions and 2 deletions

View File

@@ -101,9 +101,11 @@ const start = async () => {
await loadExtensions();
await initHeadless();
await refreshAll();
await fastify.listen({ port: 54322, host: "0.0.0.0" });
refreshAll().catch(e =>
console.error("initial refresh failed", e)
);
console.log(`Server running at http://localhost:54322`);
} catch (err) {
fastify.log.error(err);