This commit is contained in:
Tommy Parnell
2022-06-15 15:28:44 -04:00
parent 0c0a991b68
commit d8ec49d3ae

View File

@@ -8,7 +8,7 @@ fastify.get('/*', async (request, reply) => {
// Run the server!
const start = async () => {
try {
await fastify.listen({ port: process.env.PORT || 8081 })
await fastify.listen({ port: process.env.PORT || "8081", host: '0.0.0.0' })
} catch (err) {
fastify.log.error(err)
process.exit(1)