Skip to content

Commit

Permalink
added missing config settings for a couple core middleware and a whit…
Browse files Browse the repository at this point in the history
…espace fix
  • Loading branch information
shanebo committed Dec 20, 2015
1 parent 1b8e012 commit 0c224e7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/calvin.js
Expand Up @@ -19,13 +19,20 @@ var Calvin = function(config){
engine: 'beard',
path: false
},
redirects: {
},
memcache: {
urls: []
},
assets: {
paths: [],
press: {}
},
sessions: {
cookie: '__calvin',
secret: 'dontusethis',
csrf: false
},
vhosts: {}
};

Expand Down Expand Up @@ -91,7 +98,7 @@ Calvin.prototype = {

try {
next(-1)();
} catch(err) {
} catch (err) {
response.error(err, err.message);
}
}
Expand Down

0 comments on commit 0c224e7

Please sign in to comment.