This commit is contained in:
Yûki VACHOT 2021-11-12 15:45:49 +01:00
parent 00ab283d56
commit 2c4cc218d3

View file

@ -28,7 +28,7 @@ db.mongoose
} }
}); });
//app.use(express.static(__dirname + '/dist/frontend')); app.use(express.static(__dirname + '/dist/frontend'));
app.get('/', function(req,res) { app.get('/', function(req,res) {
res.sendFile(path.join(__dirname+ '/dist/frontend/index.html')); res.sendFile(path.join(__dirname+ '/dist/frontend/index.html'));
}); });