Skip to content

Commit

Permalink
docs(lazy): fixed issue of passing app instead null for adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
H4ad authored Aug 9, 2022
1 parent b433f1c commit fa42ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/docs/main/frameworks/lazy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function boostrap() {
const expressFramework = new ExpressFramework();
const framework = new LazyFramework(expressFramework, boostrap);

export const handler = ServerlessAdapter.new(app)
export const handler = ServerlessAdapter.new(null)
.setFramework(framework)
// continue to set the other options here.
//.setHandler(new DefaultHandler())
Expand Down

0 comments on commit fa42ee0

Please sign in to comment.