Commit 5207ab6c authored by Leo Iannacone's avatar Leo Iannacone

add message why that is page is forbidden

parent 2be3032f
......@@ -57,7 +57,9 @@ if config.routes.debomatic
if match.length >= 2 and
((match[0] is match[1]) or # case unstable/unstable
(match[1] is "build" and match.length > 2)) # case unstable/build/*
res.status(403).send "<h1>403 Forbidden</h1>"
res.status(403).send """<h1>403 Forbidden</h1>
<h2>You cannot see the chroot internals</h2>
"""
else # call next() here to move on to next middleware/router
next()
return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment