Skip to content

Commit 21e6fba

Browse files
dncrewshuv1k
authored andcommitted
Avoid calling next() in Express middleware (#961)
- fix #752 - fix #557
1 parent 8247930 commit 21e6fba

File tree

1 file changed

+0
-1
lines changed
  • packages/graphql-playground-middleware-express/src

1 file changed

+0
-1
lines changed

packages/graphql-playground-middleware-express/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ const express: Register = function voyagerExpress(options: MiddlewareOptions) {
2222
const playground = renderPlaygroundPage(options)
2323
res.write(playground)
2424
res.end()
25-
next()
2625
}
2726
}
2827

0 commit comments

Comments
 (0)