fix redirects

This commit is contained in:
Tommy Parnell
2016-06-28 12:29:21 -07:00
parent 75b27a8319
commit 58e44e7b52

View File

@@ -7,10 +7,10 @@ app.get('/*', function (req, res) {
var host = S(req.headers.host);
if(host.contains('github')){
return res.redirect(301, 'https://github.com/tparnell8');
return res.redirect(301, 'https://github.com/TerribleDev');
}
if(host.contains('bitbucket')){
return res.redirect(301,'https://bitbucket.org/tparnell8/');
return res.redirect(301,'https://bitbucket.org/TerribleDev/');
}
if(host.contains('blog')){
return res.redirect(301,'http://blog.tparnell.io');