Spaces:
Paused
Paused
Update server.js
Browse files
server.js
CHANGED
@@ -65,7 +65,7 @@ fastify.post('/search', async (request, reply) => {
|
|
65 |
return reply.send({ response: prevResult });
|
66 |
});
|
67 |
|
68 |
-
fastify.listen({ port: PORT }, (err, address) => {
|
69 |
if (err) throw err;
|
70 |
console.log(`Server running at ${address}`);
|
71 |
});
|
|
|
65 |
return reply.send({ response: prevResult });
|
66 |
});
|
67 |
|
68 |
+
fastify.listen({ port: PORT, host: '0.0.0.0' }, (err, address) => {
|
69 |
if (err) throw err;
|
70 |
console.log(`Server running at ${address}`);
|
71 |
});
|