Skip to content

Commit b9c6d1c

Browse files
authored
Merge pull request #5799 from Countly/flex-const-var
chore: convert const to var for deploymentConf.
2 parents 4c014d7 + 3e2577e commit b9c6d1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/express/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var path = require('path');
1111
var IS_FLEX = false;
1212

1313
if (fs.existsSync(path.resolve('/opt/deployment_env.json'))) {
14-
const deploymentConf = fs.readFileSync('/opt/deployment_env.json', 'utf8');
14+
var deploymentConf = fs.readFileSync('/opt/deployment_env.json', 'utf8');
1515
try {
1616
if (JSON.parse(deploymentConf).DEPLOYMENT_ID) {
1717
IS_FLEX = true;

0 commit comments

Comments
 (0)