From ffd21ffd0f296a3835f16cb6948ea5d40010d202 Mon Sep 17 00:00:00 2001 From: soraefir Date: Sun, 18 Jun 2023 17:29:37 +0200 Subject: [PATCH] Fix Host --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 52eee05..c8ed606 100644 --- a/server.js +++ b/server.js @@ -47,7 +47,7 @@ fastify.get('/short/:id', (req, reply) => reply.sendFile('/template/journey.html -fastify.listen({port:8080,address:'0.0.0.0'} ,(err,address) => { +fastify.listen({port:8080,host:'0.0.0.0'} ,(err,address) => { if (err) throw err; console.log("Listening on", address);