Counting is hard

This commit is contained in:
Jori Lallo
2016-05-27 00:11:28 -07:00
parent 6f01ea6aa5
commit a679814782

View File

@@ -3,7 +3,7 @@ export default function subdomainRedirect(options) {
console.log(ctx.headers);
if (ctx.headers.host === 'beautifulatlas.com') {
ctx.redirect('https://wwww.' + ctx.headers.host + ctx.path);
ctx.redirect('https://www.' + ctx.headers.host + ctx.path);
}
else {
return next();