Removed debug statement

This commit is contained in:
Jori Lallo
2016-05-27 00:11:51 -07:00
parent a679814782
commit 317d071c68

View File

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