[PR #6569] docs: simplify hono cors documentation to only the configuration required #6750

Open
opened 2026-03-13 13:10:27 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6569
Author: @Catchpowle
Created: 12/6/2025
Status: 🔄 Open

Base: canaryHead: docs/simplify-hono-cors-docs


📝 Commits (1)

  • 01a1209 docs: simplify hono cors documentation to only the configuration required

📊 Changes

1 file changed (+0 additions, -3 deletions)

View changed files

📝 docs/content/docs/integrations/hono.mdx (+0 -3)

📄 Description

This reduces the Hono CORS documentation to only what is required to get it working and aligns the docs more closely with the Express integration docs.


Summary by cubic

Simplified the Hono CORS docs to show only the minimal config needed, aligned with the Express docs. Removed allowHeaders, exposeHeaders, and maxAge from the example, keeping origin, allowMethods, and credentials.

Written for commit 01a1209954a25242664242d16b88fa62522f8283. Summary will update automatically on new commits.


🔄 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/6569 **Author:** [@Catchpowle](https://github.com/Catchpowle) **Created:** 12/6/2025 **Status:** 🔄 Open **Base:** `canary` ← **Head:** `docs/simplify-hono-cors-docs` --- ### 📝 Commits (1) - [`01a1209`](https://github.com/better-auth/better-auth/commit/01a1209954a25242664242d16b88fa62522f8283) docs: simplify hono cors documentation to only the configuration required ### 📊 Changes **1 file changed** (+0 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/integrations/hono.mdx` (+0 -3) </details> ### 📄 Description This reduces the Hono CORS documentation to only what is required to get it working and aligns the docs more closely with the Express integration docs. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Simplified the Hono CORS docs to show only the minimal config needed, aligned with the Express docs. Removed allowHeaders, exposeHeaders, and maxAge from the example, keeping origin, allowMethods, and credentials. <sup>Written for commit 01a1209954a25242664242d16b88fa62522f8283. Summary will update automatically on new commits.</sup> <!-- 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 13:10:27 -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#6750