modif app.js bc incorect html path
This commit is contained in:
@@ -5,7 +5,7 @@ const port = 3000;
|
|||||||
|
|
||||||
// Serve the index.html file at the root URL
|
// Serve the index.html file at the root URL
|
||||||
app.get('/', (req, res) => {
|
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', () => {
|
app.listen(port, '0.0.0.0', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user