Skip to content

Commit

Permalink
auto load deafults from conf package
Browse files Browse the repository at this point in the history
  • Loading branch information
esatterwhite committed May 1, 2017
1 parent c7be03f commit b523a3a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
19 changes: 19 additions & 0 deletions conf/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
'use strict'

const conf = require('keef')

module.exports = conf.defaults({
seeds: ["127.0.0.1:3455", "127.0.0.1:3456"]
, storage: {
backend: "memdown"
, path: null
}
, channel: {
host: "127.0.0.1"
, port: 3455
}
, PORT: 3000
, nats: {
hosts: "127.0.0.1:4222"
}
})
15 changes: 0 additions & 15 deletions conf/index.json

This file was deleted.

0 comments on commit b523a3a

Please sign in to comment.