modif app.js bc incorect html path

This commit is contained in:
M1n-0
2024-06-05 19:53:35 +02:00
parent a76497db5f
commit 0ce6235664

View File

@@ -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', () => {