Skip to content

Commit fea987a

Browse files
author
deiu
committed
Removed extra debug info
1 parent 95c6fe6 commit fea987a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/handlers/get.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,12 @@ function handler (req, res, next) {
6262

6363
// Redirect to container with / if missing
6464
if (container && path.lastIndexOf('/') !== path.length - 1) {
65-
debug(contentType)
6665
return res.redirect(301, _path.join(path, '/'))
6766
}
6867

6968
// Till here it must exist
7069
if (!includeBody) {
7170
debug('HEAD only')
72-
// res.set('Content-Type', contentType)
73-
// res.set()
7471
res.sendStatus(200)
7572
return next()
7673
}

0 commit comments

Comments
 (0)