From 53c38000ae32af453c1716c6f6fe93e7255583ae Mon Sep 17 00:00:00 2001 From: "Brian D. Watt" Date: Sat, 30 Sep 2023 13:48:42 -0500 Subject: [PATCH] Change server.js to cause rebuild --- server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.js b/server.js index 21441121..fee42f66 100644 --- a/server.js +++ b/server.js @@ -520,7 +520,7 @@ function adjustSat(sat1, sat2, score) { } if (process.env.NODE_ENV === 'production' || process.env.NODE_ENV === 'staging') { - console.log('process.env.NODE_ENV == production or staging'); +// console.log('process.env.NODE_ENV == production or staging'); // If it’s not https already, redirect the same url on https. app.use((req, res, next) => { if (req.header('x-forwarded-proto') !== 'https') { @@ -541,7 +541,7 @@ if (process.env.NODE_ENV === 'production' || process.env.NODE_ENV === 'staging') res.sendFile(path.join(__dirname, 'client/build', 'index.html')); }); } else { - console.log('process.env.NODE_ENV != production or staging'); +// console.log('process.env.NODE_ENV != production or staging'); } const port = process.env.PORT || 5000;