diff --git a/index.js b/index.js index b95aaca..f148222 100644 --- a/index.js +++ b/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')) \ No newline at end of file +server.listen(3000, () => console.log('started')) diff --git a/logs.html b/logs.html new file mode 100644 index 0000000..1decda0 --- /dev/null +++ b/logs.html @@ -0,0 +1,36010 @@ + + + +pgBadger :: PostgreSQL Log Analyzer + + + + + + + + + + + + +


+
+ + + + + + +
+ + + +
+
 ^ 
+
+ + + diff --git a/stat.html b/stat.html new file mode 100644 index 0000000..e69de29