Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

clean up comments

  • Loading branch information...
commit 31901e9737b3b15a979455d3778769b3de129ecd 1 parent 06f7c6a
@zaach zaach authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  bin/router
View
3  bin/router
@@ -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/,''),
Please sign in to comment.
Something went wrong with that request. Please try again.