Skip to content

Commit ad33597

Browse files
author
Brijesh
committed
test node env
1 parent f38e162 commit ad33597

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/router/routes_v1/files.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ router.get(
105105

106106
const publicUrl = publicEndPoint ? url.replace(endPoint, publicEndPoint) : url;
107107

108+
console.log(process.env.NODE_ENV);
108109
res.json({
109110
url: process.env.NODE_ENV === 'production' ? cleanProductionURL(publicUrl) : publicUrl,
110111
});

src/server.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const env = config.get('environment');
2727
const port = config.get('port');
2828
const isDev = env !== 'production';
2929

30+
console.log(process.env.NODE_ENV);
3031
createApp()
3132
.then((app) => {
3233
app.listen(port, '0.0.0.0', (err) => {

0 commit comments

Comments
 (0)