Fix specs

This commit is contained in:
Tom Moor
2018-11-12 23:17:50 -08:00
parent a95632b9de
commit 414cb1d79c
2 changed files with 2 additions and 2 deletions

View File

@ -66,9 +66,9 @@ router.get('/changelog', async ctx => {
// home page
router.get('/', async ctx => {
const lastSignedIn = ctx.cookies.get('lastSignedIn');
const accessToken = ctx.cookies.get('accessToken');
const domain = parseDomain(ctx.request.hostname);
const subdomain = domain ? domain.subdomain : undefined;
const accessToken = ctx.cookies.get('accessToken');
// Because we render both the signed in and signed out views depending
// on a cookie it's important that the browser does not render from cache.