Skip to content

Commit

Permalink
chore(pr) Added isDev condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanparsons committed Jan 3, 2024
1 parent db0a31c commit f7b48c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ const config = {
'process.env.JEST_WORKER_ID': 'undefined',
'process.env.HOT_MODE': hot,
'process.env.HMR': false,
'process.env.REMIX_DEV_ORIGIN': "'http://localhost:8000'",
'process.env.REMIX_DEV_ORIGIN': isDev ? "'http://localhost:8000'" : 'undefined',
}),

// setting up the various process.env.VARIABLE replacements
Expand Down

0 comments on commit f7b48c4

Please sign in to comment.