How to write a custom handler for a 404 response even when using a fileServer in Go Chi?
Problem: When I try to send a wrong path to my server (i.e: using Postman), I always get the default “404 Page not found” text instead of my custom HTML page.
Problem: When I try to send a wrong path to my server (i.e: using Postman), I always get the default “404 Page not found” text instead of my custom HTML page.