Skip to content

Commit 96c1688

Browse files
Update server.js
1 parent 078a160 commit 96c1688

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

server.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,4 +215,6 @@ app.post(['/execute', '/submit-code'], async (req, res) => {
215215

216216

217217
const PORT = 8080;
218-
app.listen(PORT, () => console.log(`Server running on port ${PORT}`));
218+
app.listen(PORT, '0.0.0.0', () =>
219+
console.log(`Server listening on ${PORT}`)
220+
);

0 commit comments

Comments
 (0)