mirror of
https://github.com/outline/outline.git
synced 2026-11-25 23:24:06 +03:00
Counting is hard
This commit is contained in:
1 parent
6f01ea6aa5
commit
a679814782
1 file changed
+1
-1
@@ -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