Removed debug statement
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user