[PR #4166] [MERGED] fix: invalid pages on docs throw a 500 server error instead of 404 #5231

Closed
opened 2026-03-13 12:15:01 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4166
Author: @Kinfe123
Created: 8/23/2025
Status: Merged
Merged: 8/23/2025
Merged by: @Kinfe123

Base: canaryHead: fix/404-docs-issue


📝 Commits (1)

  • 5b55cde fix: 404 issue on not-found page

📊 Changes

1 file changed (+1 additions, -2 deletions)

View changed files

📝 docs/content/docs/authentication/line.mdx (+1 -2)

📄 Description

closes #4164
Screenshot 2025-08-23 at 3 25 28 AM


Summary by cubic

Fixes the docs site to return a proper 404 for invalid pages instead of a 500. This shows the Not Found page correctly and improves SEO and monitoring.

  • Bug Fixes
    • Return 404 for missing docs pages instead of 500.
    • Cleaned up LINE auth docs: converted the button guidelines URL to a Markdown link.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/4166 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 8/23/2025 **Status:** ✅ Merged **Merged:** 8/23/2025 **Merged by:** [@Kinfe123](https://github.com/Kinfe123) **Base:** `canary` ← **Head:** `fix/404-docs-issue` --- ### 📝 Commits (1) - [`5b55cde`](https://github.com/better-auth/better-auth/commit/5b55cde4713547edd059238f6fa692bca7ffdad4) fix: 404 issue on not-found page ### 📊 Changes **1 file changed** (+1 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/authentication/line.mdx` (+1 -2) </details> ### 📄 Description closes #4164 <img width="1507" height="910" alt="Screenshot 2025-08-23 at 3 25 28 AM" src="https://github.com/user-attachments/assets/8976287f-e65e-4a72-bd3b-d01265d63fb6" /> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fixes the docs site to return a proper 404 for invalid pages instead of a 500. This shows the Not Found page correctly and improves SEO and monitoring. - **Bug Fixes** - Return 404 for missing docs pages instead of 500. - Cleaned up LINE auth docs: converted the button guidelines URL to a Markdown link. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:15:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#5231