fixed a bug related with start time
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user