You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to customize responses on pages that don't match any of the "valid" routes.
Right now, visiting the root returns this response:
While visiting a non existing path redirects to this repo. It would be nice to customize this kind of edge cases, as well as maybe the error messages such as Something went wrong! or Source image is unreachable
The text was updated successfully, but these errors were encountered:
stefanofusai
changed the title
[FEATURE REQUEST] Easily customize 404 responses
[FEATURE REQUEST] Easily customize 404 responses/errors
Jun 21, 2024
Thumbs up on this, additionally I'm thinking of adding the option for a fallback image (which is always served when the requested one is not available). Would you be open for a PR, @andrasbacsai?
Thumbs up on this, additionally I'm thinking of adding the option for a fallback image (which is always served when the requested one is not available). Would you be open for a PR, @andrasbacsai?
@wottpal would be perfect, because in some random moments NextImageTransformation is not being able to download the images (running inside coolify/docker), and I need to show a “standard” image until it is solved
It would be nice to customize responses on pages that don't match any of the "valid" routes.
Right now, visiting the root returns this response:
While visiting a non existing path redirects to this repo. It would be nice to customize this kind of edge cases, as well as maybe the error messages such as
Something went wrong!
orSource image is unreachable
The text was updated successfully, but these errors were encountered: