Skip to content

Commit 6a0b760

Browse files
committed
Fix server printing stacktrace after logging in, Closes #1000
1 parent d5315f6 commit 6a0b760

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/handlers/get.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ async function handler (req, res, next) {
7474
if (!includeBody) {
7575
debug('HEAD only')
7676
res.setHeader('Content-Type', ret.contentType)
77-
res.status(200).send('OK')
78-
return next()
77+
return res.status(200).send('OK')
7978
}
8079

8180
// Handle dataBrowser

0 commit comments

Comments
 (0)