Skip to content

Commit

Permalink
update RUNS_ON_HEROKU to NEXT_PUBLIC_RUNS_ON_HEROKU
Browse files Browse the repository at this point in the history
  • Loading branch information
phongnguyenhh1996 committed Jan 9, 2025
1 parent 6730251 commit fe02b1f
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 fe02b1f

Please sign in to comment.