Renamed Atlas to Outline

This commit is contained in:
Jori Lallo
2017-11-09 00:20:22 -08:00
parent 12d20611d6
commit f5c51a96f0
20 changed files with 47 additions and 47 deletions

View File

@ -1,6 +1,6 @@
export default function subdomainRedirect(options) {
return async function subdomainRedirectMiddleware(ctx, next) {
if (ctx.headers.host === 'beautifulatlas.com') {
if (ctx.headers.host === 'getoutline.com') {
ctx.redirect(`https://www.${ctx.headers.host}${ctx.path}`);
} else {
return next();