Skip to content

Commit

Permalink
No idea what is happening here
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeaun committed Feb 1, 2018
1 parent 8666264 commit 25f6363
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions server.js
@@ -1,13 +1,10 @@
// Config

var nconf = require('nconf');
nconf.argv()
.env()
.file('config.json')
.defaults({
port: 80,
cache_exp: 60*10 // 10 mins
});
nconf.argv().env().file('config.json').defaults({
port: 80,
cache_exp: 60*10 // 10 mins
});

var express = require('express');
var morgan = require('morgan');
Expand Down

0 comments on commit 25f6363

Please sign in to comment.