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