Skip to content

Commit

Permalink
update configuration info for NodeJS to include disabling calls to ra…
Browse files Browse the repository at this point in the history
…y() with NODE_ENV
  • Loading branch information
patinthehat authored and Patrick committed Mar 1, 2021
1 parent 8990a77 commit 6bbb860
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ module.exports = {
}
```

When running `node-ray` within a NodeJS environment, you may set the environment variable `NODE_ENV` to "production" or "staging" to disable sending data to Ray from calls to `ray()`.

### Browser config

This section only applies if you are using `node-ray` in a browser environment _(webpack, etc.)_.
Expand Down

0 comments on commit 6bbb860

Please sign in to comment.