port config oops
This commit is contained in:
parent
9e0946d80e
commit
ac76ce6988
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ fastify.get('/', async (request, reply) => {
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
fastify.listen({port: PORT}, (err, address) => {
|
fastify.listen({port: Number(PORT)}, (err, address) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
fastify.log.error(err)
|
fastify.log.error(err)
|
||||||
process.exit(1)
|
process.exit(1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue