This commit is contained in:
Yûki VACHOT 2021-11-12 15:40:11 +01:00
parent ed4e7470fc
commit 00ab283d56

View file

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