Skip to content

Commit

Permalink
feat: export createH3ApiHandler for h3 apps
Browse files Browse the repository at this point in the history
  • Loading branch information
wobsoriano committed May 20, 2023
1 parent c2ae94b commit 18cd492
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,5 @@ export function createNuxtApiHandler<TRouter extends AnyRouter> ({
return body
})
}

export const createH3ApiHandler = createNuxtApiHandler

0 comments on commit 18cd492

Please sign in to comment.