Skip to content

Commit

Permalink
feat: get req,res values from event.node
Browse files Browse the repository at this point in the history
  • Loading branch information
wobsoriano committed Nov 17, 2022
1 parent 4085d5f commit f08b724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Expand Up @@ -68,7 +68,7 @@ export function createNuxtApiHandler<TRouter extends AnyRouter> ({
const {
req,
res
} = event
} = event.node

const $url = createURL(req.url!)

Expand Down

0 comments on commit f08b724

Please sign in to comment.