Closed marwanehcine closed 5 months ago
If we now include the error pages directly into the gateway code, can we still override them through the datadir like in MEL: https://github.com/camptocamp/georchestra-mel-configuration/tree/k8s-master-dev/gateway/templates/error?
Yes, just we need to set correct path in prop file.
Thanks
@marwanehcine don't forget about my message above 😃: #107 (review)
tested then replied, Thanks
adding customized error pages with a specific api for error handling (404, 403, 500, 501, 503) I have added a new CustomAccessDeniedHandler class to throw an exception when 403 is returned. Exception should be throw to be handled later by CustomErrorAttributes.java. (set error status and be redirected to correct html error page)