add some logging
This commit is contained in:
parent
7f5277546b
commit
5247ecfc06
4
index.js
4
index.js
@ -34,7 +34,7 @@ Postgres.FirstRow = function (inSQL, args, inResponse) {
|
||||
server.get('/', (req, res) => res.send('node.js express is up and running'))
|
||||
|
||||
|
||||
server.get('/logs', (req, res) => res.sendFile('~/forecast_api/logs.html'))
|
||||
server.get('/logs', (req, res) => res.sendFile('//home/pt/forecast_api/logs.html'))
|
||||
|
||||
|
||||
server.get('/test_sql', function(req, res){
|
||||
@ -352,4 +352,4 @@ function build_where(req, c, w, d, args) {
|
||||
return { c, w, d };
|
||||
}
|
||||
|
||||
server.listen(3000, () => console.log('started'))
|
||||
server.listen(3000, () => console.log('started'))
|
||||
|
Loading…
Reference in New Issue
Block a user