Permalink
Browse files

clean up comments

  • Loading branch information...
zaach committed Dec 19, 2012
1 parent 06f7c6a commit 31901e9737b3b15a979455d3778769b3de129ecd
Showing with 2 additions and 1 deletion.
  1. +2 −1 bin/router
View
@@ -21,6 +21,7 @@ console.log("router starting up");
// set up logging
app.use(express.logger());
+// redirect alt domains
var hosts = [ 'getgombot.com', 'getgombot.org', 'getgumbot.com', 'gumbot.org' ];
app.use(function(req, res, next) {
if (hosts.indexOf(req.headers.host) >= 0) {
@@ -31,7 +32,7 @@ app.use(function(req, res, next) {
}
});
-// redirect requests to the "verifier" processes
+// redirect requests to the api processes
app.use(function(req, res, next) {
if (/^\/api/.test(req.url)) {
forward(api_url + req.url.replace(/^\/api/,''),

0 comments on commit 31901e9

Please sign in to comment.