message
parent
219e7c2e1e
commit
eddd0bbba8
|
|
@ -4,7 +4,7 @@ var path = require('path');
|
|||
|
||||
app.use(express.static('../www'));
|
||||
|
||||
app.get('/*', function (req, res) {
|
||||
app.get('/*', function (req, res) {
|
||||
console.log(req.originalUrl);
|
||||
res.sendFile(path.join(__dirname, './www', 'index.html'));
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue