Skip to content

Commit

Permalink
Update migrating.md
Browse files Browse the repository at this point in the history
  • Loading branch information
daffl committed Jun 16, 2023
1 parent 45a449d commit 35310c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/migrating.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ The Socket.io and Grant (oAuth) dependencies have been updated to their latest v

### Configuration

The automatic environment variable substitution in `@feathersjs/configuration` was causing subtle and hard to issues. It has been removed to instead rely on the functionality already provided and battle tested by the underlying [node-config](https://github.com/lorenwest/node-config). To update your configuration:
The automatic environment variable substitution in `@feathersjs/configuration` was causing subtle and hard to debug issues. It has been removed to instead rely on the functionality already provided and battle tested by the underlying [node-config](https://github.com/lorenwest/node-config). To update your configuration:

- Relative paths are no longer relative to the configuration file, but instead to where the application runs. This normally (when running from the application folder) means that paths starting with `../` and `./` have to be replaced with `./` and `./config/`.
- Configuration through environment variables should be included via the `NODE_CONFIG` JSON string or as [Custom Environment Variable support](https://github.com/lorenwest/node-config/wiki/Environment-Variables#custom-environment-variables). To use existing environment variables add the following configuration file in `config/custom-environment-variables.json` like this:
Expand Down

0 comments on commit 35310c5

Please sign in to comment.