Skip to content

Add custom 404 page for web routes#34

Open
heronvalev wants to merge 3 commits intoartefatto:mainfrom
heronvalev:add-custom-404-page
Open

Add custom 404 page for web routes#34
heronvalev wants to merge 3 commits intoartefatto:mainfrom
heronvalev:add-custom-404-page

Conversation

@heronvalev
Copy link
Copy Markdown

Adds a custom HTML 404 page for normal web routes while preserving JSON 404 responses for missing /api routes.

Changes:

  • add a global 404 handler
  • return JSON for missing API routes
  • render a styled 404.html template for non-API routes

Related to #30

@ivansantiagojr ivansantiagojr linked an issue Apr 26, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A better 404 - Not Found page

2 participants