[fix] Fixed spelling error
This commit is contained in:
parent
e7c216e970
commit
bdf2fc8cd7
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ Using nconf is easy; it is designed to be a simple key-value store with support
|
|||
nconf = require('nconf');
|
||||
|
||||
//
|
||||
// Setup nconf to user the 'file' store and set a couple of values;
|
||||
// Setup nconf to use the 'file' store and set a couple of values;
|
||||
//
|
||||
nconf.use('file', { file: 'path/to/your/config.json' });
|
||||
nconf.set('database:host', '127.0.0.1');
|
||||
|
|
2
usage.js
2
usage.js
|
@ -3,7 +3,7 @@ var fs = require('fs'),
|
|||
nconf = require('./lib/nconf');
|
||||
|
||||
//
|
||||
// Setup nconf to user the 'file' store and set a couple of values;
|
||||
// Setup nconf to use the 'file' store and set a couple of values;
|
||||
//
|
||||
nconf.use('file', { file: path.join(__dirname, 'config.json') });
|
||||
nconf.set('database:host', '127.0.0.1');
|
||||
|
|
Loading…
Reference in a new issue