Skip to content

Commit

Permalink
major bug fix, regression when entry point went from /index to /lib/s…
Browse files Browse the repository at this point in the history
…hort, fixed in package as well as a doc minor improvement
  • Loading branch information
edwardhotchkiss committed Nov 29, 2011
1 parent 59b2ee2 commit e31d6e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -47,7 +47,7 @@ var mongoose = require("mongoose");

var short = require("short");

mongoose.connect("mongodb://localhost/short");
short.connect("mongodb://localhost/short");

var app = http.createServer(function(request, response) {
var hash = request.url.slice(1);
Expand Down
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -2,15 +2,15 @@
"author": "Edward Hotchkiss <e@ingk.com>",
"name": "short",
"description": "NodeJS URL Shortener backed by MongooseJS",
"version": "0.1.8",
"version": "0.1.9",
"repository": {
"type": "git",
"url": "git://github.com/edwardhotchkiss/short.git"
},
"keywords": ["short", "url", "shortener", "tiny", "uri"],
"main": "./short",
"main": "./lib/short",
"engines":{
"node":">= 0.4.11 < 0.7.0"
"node":">= 0.6.0 < 0.7.0"
},
"dependencies": {
"mongoose":"2.2.4",
Expand Down

0 comments on commit e31d6e5

Please sign in to comment.