Skip to content

Commit

Permalink
Update FASTIFY.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-vasconcelos committed Oct 2, 2024
1 parent cfbbb2f commit c11a1bd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions server/services/FASTIFY.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* * */

import SERVERDB from '@/services/SERVERDB.js';
import fastify from 'fastify';

/* * */
Expand All @@ -15,11 +14,8 @@ class FASTIFY {
this.server.listen({ host: '0.0.0.0', port: 5050 }, async (err, address) => {
if (err) throw err;
console.log(`Fastify server listening on ${address}`);
await SERVERDB.connect();
});
}

//
}

export default new FASTIFY();

0 comments on commit c11a1bd

Please sign in to comment.