Skip to content

Commit

Permalink
be less specific about which version of connect to use... again
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ ONeal committed Oct 19, 2012
1 parent f1eff28 commit a4e61f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -2,7 +2,7 @@
"author": "AJ ONeal <coolaj86@gmail.com> (http://coolaj86.info/)",
"name": "dropshare",
"description": "A ge.tt / min.us clone for your private servers",
"version": "0.3.8",
"version": "0.3.9",
"homepage": "dropshare.coolaj86.info",
"contributors": [
{
Expand All @@ -25,7 +25,7 @@
"dropshare-server": "bin/dropshare-server.js"
},
"dependencies": {
"connect": "2.3.5",
"connect": "*",
"connect_router": "1.x",
"mime": "~1.2",
"fs.extra": "1.x",
Expand Down
4 changes: 3 additions & 1 deletion server/index.js
Expand Up @@ -23,7 +23,9 @@
;

connect.cors = require('connect-cors');
connect.router = require('connect_router');
if (!connect.router) {
connect.router = require('connect_router');
}

// http://stackoverflow.com/a/6969486/151312
function escapeRegExp(str) {
Expand Down

0 comments on commit a4e61f6

Please sign in to comment.