Navigation Menu

Skip to content

Commit

Permalink
changelog, connect to process.env.MONGO_DB over mongodb://localhost/s…
Browse files Browse the repository at this point in the history
…hort
  • Loading branch information
Edward Hotchkiss committed Dec 20, 2011
1 parent fcc1697 commit ff89cef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion History.md
@@ -1,5 +1,5 @@

0.2.7 / 2011-12-18
0.2.8 / 2011-12-18
==================

* Added gun.io whitespace changes, version bump
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"author": "Edward Hotchkiss <e@ingk.com>",
"name": "short",
"description": "NodeJS URL Shortener backed by MongooseJS",
"version": "0.2.7",
"version": "0.2.8",
"repository": {
"type": "git",
"url": "git://github.com/edwardhotchkiss/short.git"
Expand Down
4 changes: 3 additions & 1 deletion test/index.test.js
Expand Up @@ -12,7 +12,9 @@ var vows = require('vows'),
Connect to MongoDB
*/

short.connect('mongodb://localhost/short');
var MONGO_DB = process.env.MONGO_DB || 'mongodb://localhost/short';

short.connect(MONGO_DB);

/*!
Vows / npm test
Expand Down

0 comments on commit ff89cef

Please sign in to comment.