Navigation Menu

Skip to content

Commit

Permalink
Fix wrong option value use
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 14, 2012
1 parent a021d1a commit 0717d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/server.js
Expand Up @@ -4,7 +4,7 @@ var api = require('./api');
var dashboard = require('./dashboard');

exports.createServer = function (config) {
var context = new nroonga.Context(config.context || config.databasePath);
var context = config.context || new nroonga.Context(config.databasePath);
var application = express.createServer();
application.use(express.bodyParser());
application.set('views', __dirname + '/../views');
Expand Down

0 comments on commit 0717d6f

Please sign in to comment.