Skip to content

Commit

Permalink
enable env
Browse files Browse the repository at this point in the history
  • Loading branch information
Surya T committed Feb 18, 2022
1 parent 565af88 commit 61a90d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ router.get('/apps/:appName', isAuthenticated, async (ctx) => {
if(app){
app.git_branch = await getCurrentGitBranch(app.pm2_env_cwd)
app.git_commit = await getCurrentGitCommit(app.pm2_env_cwd)
// app.env_file = await getEnvFileContent(app.pm2_env_cwd)
app.env_file = await getEnvFileContent(app.pm2_env_cwd)
const stdout = await readLogsReverse({filePath: app.pm_out_log_path})
const stderr = await readLogsReverse({filePath: app.pm_err_log_path})
stdout.lines = stdout.lines.map(log => {
Expand Down

0 comments on commit 61a90d8

Please sign in to comment.