diff --git a/server/middlewares/subdomainRedirect.js b/server/middlewares/subdomainRedirect.js index 631b12e15..522792a92 100644 --- a/server/middlewares/subdomainRedirect.js +++ b/server/middlewares/subdomainRedirect.js @@ -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();