diff --git a/scraper/src/main.js b/scraper/src/main.js index 5eae4c82..1a5330b8 100644 --- a/scraper/src/main.js +++ b/scraper/src/main.js @@ -38,7 +38,7 @@ fastify.post('/scrape', async (request, reply) => { } }); -fastify.listen(3000, (err, address) => { +await fastify.listen(3000, (err, address) => { if (err) throw err; console.log(`Server listening on ${fastify.server.address().port}`) }); \ No newline at end of file