When a request has `/api` in the URL, sidebar.js triggers and tries to a bunch things to the layout which don't exist on the error page. Using the following would leave the URL intact after a redirect. ``` ErrorDocument 404 /error/404.html ``` Rather than try to fix the js, I updated the redirect to use a static URL which forces the URL to change thereby bypassing the theme. ``` ErrorDocument 404 https://mxnet.incubator.apache.org/error/404.html ``` So, if you preview this, you won't get to see the error page because it doesn't exist yet. But you can still visit it manually here: http://34.201.8.176/error/404.html
[ Full content available at: https://github.com/apache/incubator-mxnet/pull/12426 ] This message was relayed via gitbox.apache.org for [email protected]
