Merge pull request #1 from TerribleDev/sis

soup in summer
This commit is contained in:
Tommy Parnell
2016-10-12 19:13:04 -04:00
committed by GitHub

View File

@@ -8,9 +8,13 @@ app.get('/*', function (req, res) {
var hostToString = host.toString();
//todo regex
console.log(hostToString);
if(hostToString === "soupinsummer.co"){
return res.redirect(302, 'https://about.terribledev.io');
}
if(hostToString === "tparnell.io"){
return res.redirect(301, 'https://about.tparnell.io');
}
if(hostToString === "tommyparnell.com" || hostToString === "www.tommyparnell.com"){
return res.redirect(301, 'https://about.tommyparnell.com');
}