Provide session in layout preload

This commit is contained in:
Thomas Ghysels
2019-03-05 15:22:40 +01:00
committed by GitHub
parent 9540383796
commit 8858301fed

View File

@@ -145,7 +145,7 @@ export function get_page_handler(
path: req.path,
query: req.query,
params: {}
})
}, session)
: {};
match = error ? null : page.pattern.exec(req.path);