Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add basic route for root.

  • Loading branch information...
commit a94b46d8708ed473bf2e018bcbdaa403777908cb 1 parent 5ad0d5e
Will White authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 server/tile-server.js
View
5 server/tile-server.js
@@ -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);
+ });
};
Please sign in to comment.
Something went wrong with that request. Please try again.