Permalink
Browse files

Add basic route for root.

  • Loading branch information...
Will White
Will White committed Mar 4, 2011
1 parent 5ad0d5e commit a94b46d8708ed473bf2e018bcbdaa403777908cb
Showing with 5 additions and 0 deletions.
  1. +5 −0 server/tile-server.js
View
@@ -159,4 +159,9 @@ module.exports = function(app, settings) {
}
});
});
+
+ // Basic route for the root. Useful for checking the health of the server.
+ app.get('/', function(req, res, next) {
+ res.send('TileStream', 200);
+ });
};

0 comments on commit a94b46d

Please sign in to comment.