message
parent
64a84f5bb5
commit
13a9e46399
|
|
@ -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