replace url.canparse with canparseurl and bind to 0.0.0.0

This commit is contained in:
ProgrammerIn-wonderland 2024-08-11 21:57:41 -04:00
parent 1fcc4efa1b
commit 77d492fffb
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@ fastify.register(fastifyStatic, {
});
fastify.listen({
port: process.env.PORT || 1337,
// host: "0.0.0.0",
host: "0.0.0.0",
});
writeFileSync(