Update directory for static middleware in app.js
parent
087c382152
commit
0fbbfc4f5e
|
|
@ -33,7 +33,7 @@ app.get('/api/cim/:month/:day',function(req,res){
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
app.use(express.static('../www'));
|
app.use(express.static('www'));
|
||||||
|
|
||||||
app.get('/*', function (req, res) {
|
app.get('/*', function (req, res) {
|
||||||
console.log(__dirname);
|
console.log(__dirname);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue