Counting is hard
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user