Skip to content

Commit

Permalink
read correct router option
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Jan 18, 2022
1 parent 28acd1f commit fa92bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kit/src/runtime/server/page/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export async function render_response({
session: ${try_serialize($session, (error) => {
throw new Error(`Failed to serialize session data: ${error.message}`);
})},
route: ${!!options.router},
route: ${!!resolve_opts.router},
spa: ${!ssr},
trailing_slash: ${s(options.trailing_slash)},
hydrate: ${ssr && hydrate ? `{
Expand Down

0 comments on commit fa92bc5

Please sign in to comment.