From e9d96b0de1e6f799732330b57a3a196894bbbb00 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Thu, 14 Mar 2019 00:49:33 -0400 Subject: [PATCH] test sending logs --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index 63599d2..6337b47 100644 --- a/index.js +++ b/index.js @@ -34,6 +34,9 @@ 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('./logs.html')) + + server.get('/test_sql', function(req, res){ var path = './route_meta/scenario_package.sql' var callback = function(arg){