From 75b27a8319f44b4a7ef33fe512a7a141b16a561d Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Sat, 17 Oct 2015 18:48:09 -0400 Subject: [PATCH] return 200 when no routes are found --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 44e6197..3114eca 100644 --- a/server.js +++ b/server.js @@ -18,7 +18,7 @@ app.get('/*', function (req, res) { if(host.contains('resume')){ return res.redirect(301,'http://resume.tparnell.io'); } - res.status(500).end("Error no redirects found"); + res.end("Redirect layer for tommyparnell.com, tparnell.io, and other domains :D"); }); var server = app.listen(port, function () {