Skip to content

Instantly share code, notes, and snippets.

@mani95lisa
Created November 24, 2014 09:47
Show Gist options
  • Save mani95lisa/86572e47bfac7b1f213a to your computer and use it in GitHub Desktop.
Save mani95lisa/86572e47bfac7b1f213a to your computer and use it in GitHub Desktop.
{
"log":{
"user":"gz7EgT4sfNInjv75Pe6MhGzd",
"passwd":"pGH1vBSeycEH9ZWCj9QkOt0pTYCEUpfP"
},
"mongo": "mongodb://bae:xt6e5Qrx93m1ebGHUpxHh7qB4CjnlKti@svridf3zd2q93fi.mongodb.duapp.com:10204/svridf3zd2q93fi",
"express": {
"view cache": false,
"view engine": "js",
"views": "path:./.build/templates",
"jsonp callback name": "callback"
},
"view engines": {
"js": {
"module": "engine-munger",
"renderer": {
"method": "js",
"arguments": [
{ "cache": true },
{
"views": "config:express.views",
"view engine": "config:express.view engine",
"specialization": "config:specialization",
"i18n": "config:i18n"
}
]
}
}
},
"i18n": {
"contentPath": "path:./locales",
"fallback": "en-US"
},
"middleware": {
"static": {
"module": {
"arguments": [ "path:./.build" ]
}
},
"router": {
"module": {
"arguments": [{ "directory": "path:./controllers" }]
}
},
"expressView": {
"priority": 100,
"enabled": true,
"module": {
"name": "engine-munger/lib/expressView"
}
},
"fileNotFound": {
"enabled": true,
"priority": 130,
"module": {
"name": "kraken-js/middleware/404",
"arguments": [ "errors/404" ]
}
},
"serverError": {
"enabled": true,
"priority": 140,
"module": {
"name": "kraken-js/middleware/500",
"arguments": [ "errors/500" ]
}
},
"appsec": {
"module": {
"arguments": [{"csrf":false}]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment