Skip to content

Commit

Permalink
fix: set NODE_ENV as an environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
wessberg committed May 19, 2021
1 parent 06cb230 commit 6957429
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ server {

const envVariables = Object.entries({
PRODUCTION: String(PRODUCTION),
NODE_ENV: PRODUCTION ? "production" : "development",
HOST: PRODUCTION ? INTERNAL_HOST_PRODUCTION : INTERNAL_HOST_DEVELOPMENT,
PORT: PRODUCTION ? INTERNAL_PORT_PRODUCTION : INTERNAL_PORT_DEVELOPMENT,
SENTRY_DSN: PRODUCTION ? SENTRY_DSN_PRODUCTION : SENTRY_DSN_DEVELOPMENT
Expand Down

0 comments on commit 6957429

Please sign in to comment.