Skip to content

Commit

Permalink
more fixes for static file serving
Browse files Browse the repository at this point in the history
  • Loading branch information
truepattern committed May 4, 2012
1 parent 87636ae commit 058e4b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aonx.js
Expand Up @@ -180,7 +180,7 @@ function _postHandlers() {
res.json({app:config.app.title, version:config.app.version});
}
};
exports.apiresource = app.resource('api', api);
global.apiresource = app.resource('api', api);
winston.debug(pkgname + " api handler added");
}

Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -12,6 +12,7 @@

"express" : ">= 2.5.9",
"express-resource" : ">= 0.2.4",
"express-messages" : ">= 0.0.2",

"mongoose" : ">= 2.6.2"
},
Expand Down

0 comments on commit 058e4b6

Please sign in to comment.