Merge pull request #593 from thgh/patch-4

Provide session in layout preload
This commit is contained in:
Rich Harris
2019-04-27 12:19:58 -04:00
committed by GitHub

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);