Skip to content

Commit

Permalink
Merge pull request #192 from MakairaIO/fix/env-var-update
Browse files Browse the repository at this point in the history
update RUNS_ON_HEROKU to NEXT_PUBLIC_RUNS_ON_HEROKU
  • Loading branch information
phongnguyenhh1996 authored Jan 9, 2025
2 parents 6730251 + fe02b1f commit ca4c547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ app
})

// DO NOT MODIFY THIS PART!
if (process.env.RUNS_ON_HEROKU === 'true') {
if (process.env.NEXT_PUBLIC_RUNS_ON_HEROKU === 'true') {
server.listen('/tmp/nginx.socket', (err) => {
if (err) throw err

Expand Down

0 comments on commit ca4c547

Please sign in to comment.