From 29d6c41bc54722f656e22a966e29e1d778844b90 Mon Sep 17 00:00:00 2001 From: Alexey Velikiy Date: Sat, 15 Sep 2018 19:09:55 +0300 Subject: [PATCH] add node env (#155) --- server/src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/index.ts b/server/src/index.ts index 0676fbc..c5e52d1 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -42,7 +42,8 @@ rootRouter.get('/', async (ctx) => { ctx.response.body = { server: 'OK', analyticsReady: AnalyticsController.isAnalyticReady(), - version: process.env.npm_package_version + version: process.env.npm_package_version, + env: process.env.npm_config_user_agent }; });