message
parent
073ff98da9
commit
8866ad2c36
|
|
@ -6,7 +6,7 @@ app.use(express.static('../www'));
|
|||
|
||||
app.get('/*', function (req, res) {
|
||||
console.log(req.originalUrl);
|
||||
res.sendFile(path.join(__dirname, '../www', 'index.html'));
|
||||
res.sendFile(path.join(__dirname, './www', 'index.html'));
|
||||
})
|
||||
|
||||
app.listen(25776, function () {
|
||||
|
|
|
|||
Loading…
Reference in New Issue