Browse Source

add node env (#155)

pull/1/head
Alexey Velikiy 6 years ago committed by GitHub
parent
commit
29d6c41bc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      server/src/index.ts

3
server/src/index.ts

@ -42,7 +42,8 @@ rootRouter.get('/', async (ctx) => {
ctx.response.body = { ctx.response.body = {
server: 'OK', server: 'OK',
analyticsReady: AnalyticsController.isAnalyticReady(), analyticsReady: AnalyticsController.isAnalyticReady(),
version: process.env.npm_package_version version: process.env.npm_package_version,
env: process.env.npm_config_user_agent
}; };
}); });

Loading…
Cancel
Save