Lucee Public error page in commandbox

Is there a way to setup a public error pages in server.json similar to Lucee Server Admin? I tried using the following in server.json:

    "errorPages" : {
      "404" : "/app/inc/404.html",
      "500" : "/app/inc/500.html",
      "default" : "/app/inc/default.html"

but I’m still getting very detailed error which is of course undesirable in prod.

Thanks