diff --git a/js/app.js b/js/app.js index ce28be9..2bb7a89 100644 --- a/js/app.js +++ b/js/app.js @@ -5,9 +5,9 @@ const port = 3000; // Serve the index.html file at the root URL app.get('/', (req, res) => { - res.sendFile(path.join(__dirname, '../html/index.html')); + res.sendFile(path.join(__dirname, 'index.html')); }); -app.listen(port, () => { - console.log(`Example app listening at http://localhost:${port}`); +app.listen(port, '0.0.0.0', () => { + console.log(`App listening at http://localhost:${port}`); });