Change valve to just display content from 404.html or 500.html
Currently the valve class has a redirect to /404.html
and /500.html
. This is odd behavior as the browser would get a 302 then a 200. Let the confusion ensue. Lets change it to just display the file on the current request route. No redirects.