mirror of
https://github.com/feathersjs/feathers.git
synced 2025-12-08 19:46:22 +00:00
docs: Update custom-environment-variables.md (#3323)
This commit is contained in:
parent
a21b2cfcc5
commit
fc701ff3c7
@ -38,6 +38,10 @@ And update `src/app.ts` as follows:
|
||||
import * as dotenv from 'dotenv'
|
||||
dotenv.config()
|
||||
|
||||
// or for ES6
|
||||
|
||||
import 'dotenv/config';
|
||||
|
||||
import configuration from '@feathersjs/configuration'
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user