From 499a19178660145dc498d26d425f43e6ec397f55 Mon Sep 17 00:00:00 2001 From: damien-duignan Date: Tue, 9 Jun 2020 13:55:29 +0200 Subject: [PATCH] Remove console log --- routes/products.js | 1 - 1 file changed, 1 deletion(-) diff --git a/routes/products.js b/routes/products.js index 5b0f54b..a6014fd 100644 --- a/routes/products.js +++ b/routes/products.js @@ -16,7 +16,6 @@ function toProduct(row) { } router.get("/", async (req, res) => { - console.log('connectionstring: ', process.env.CONNECTION_STRING) const { rows } = await db.query("SELECT id, title, content, created_at FROM products"); res.setHeader("Access-Control-Allow-Origin", "*"); res.json(rows.map(toProduct));