return 200 when no routes are found

This commit is contained in:
Tommy Parnell
2015-10-17 18:48:09 -04:00
parent da0fa2838d
commit 75b27a8319

View File

@@ -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 () {