From a679814782ebe10e3fa7d10aa8d127ec75b686e4 Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Fri, 27 May 2016 00:11:28 -0700 Subject: [PATCH] Counting is hard --- server/middlewares/subdomainRedirect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();