Skip to content

Commit

Permalink
use 0.0.0.0 instead of loopback
Browse files Browse the repository at this point in the history
  • Loading branch information
oppiliappan committed Dec 25, 2024
1 parent b388435 commit 7371987
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ app.use(
app.use("/", routes);

const port = process.env.LURKER_PORT;
const server = app.listen(port ? port : 3000, () => {
console.log(`started on ${server.address().port}`);
const server = app.listen(port ? port : 3000, "0.0.0.0", () => {
console.log("started on", server.address());
});

0 comments on commit 7371987

Please sign in to comment.