From bb3011414dbde745bd0f1fd93007352943e0a0e4 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 14 Mar 2024 21:38:37 +0100 Subject: [PATCH] Update index.js --- nodejs/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodejs/index.js b/nodejs/index.js index c65cc24..a5742aa 100644 --- a/nodejs/index.js +++ b/nodejs/index.js @@ -6,7 +6,7 @@ fastify.get('/', function (req, reply) { return { hello: "from nodejs" } }) fastify.get('/env', function (req, reply) { - return { env: process.env.NODE_ENV } + return { env: process.env } }) fastify.get('/health', function (req, reply) { @@ -25,4 +25,4 @@ const start = async () => { process.exit(1) } } -start() \ No newline at end of file +start()