Skip to content

Commit

Permalink
Merge pull request #229 from phonzammi/fix-typo
Browse files Browse the repository at this point in the history
fix typo (reversed)
  • Loading branch information
magne4000 authored Apr 3, 2024
2 parents 2887d43 + 25afe99 commit 45088a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boilerplates/h3/files/h3-entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,11 @@ async function startServer() {
"/**",
eventHandler(async (event) => {
const pageContextInit = BATI.has("firebase-auth")
? { urlOriginal: event.node.req.originalUrl || event.node.req.url! }
: {
? {
urlOriginal: event.node.req.originalUrl || event.node.req.url!,
user: event.context.user,
};
}
: { urlOriginal: event.node.req.originalUrl || event.node.req.url! };
const pageContext = await renderPage(pageContextInit);
const response = pageContext.httpResponse;

Expand Down

0 comments on commit 45088a2

Please sign in to comment.