From 0ce623566443947ddcda1b6e7ff3afaff9ee83c3 Mon Sep 17 00:00:00 2001 From: M1n-0 <145598371+M1n-0@users.noreply.github.com> Date: Wed, 5 Jun 2024 19:53:35 +0200 Subject: [PATCH] modif app.js bc incorect html path --- js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 2bb7a89..fa79016 100644 --- a/js/app.js +++ b/js/app.js @@ -5,7 +5,7 @@ const port = 3000; // Serve the index.html file at the root URL app.get('/', (req, res) => { - res.sendFile(path.join(__dirname, 'index.html')); + res.sendFile(path.join(__dirname, '../html/index.html')); }); app.listen(port, '0.0.0.0', () => {