[PR #758] [CLOSED] docs: Update example code for Hono mount handler #3467

Closed
opened 2026-03-13 10:54:46 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/758
Author: @isaced
Created: 12/4/2024
Status: Closed

Base: mainHead: patch-1


📝 Commits (2)

  • 59b48dc docs: Update example code for Hono mount handler
  • 15786ff docs: Simplify Hono mount handler example

📊 Changes

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

View changed files

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

📄 Description

This pull request includes a change to the docs/content/docs/installation.mdx file to improve the handling of authentication requests in the example code. The change simplifies the code by combining the GET and POST handlers into a single handler that supports both methods.


🔄 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/758 **Author:** [@isaced](https://github.com/isaced) **Created:** 12/4/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (2) - [`59b48dc`](https://github.com/better-auth/better-auth/commit/59b48dc4aee977855be782307dd5efcaf2e3d194) docs: Update example code for Hono mount handler - [`15786ff`](https://github.com/better-auth/better-auth/commit/15786fff330c666b98715eac0fdd546d2629b079) docs: Simplify Hono mount handler example ### 📊 Changes **1 file changed** (+1 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/installation.mdx` (+1 -2) </details> ### 📄 Description This pull request includes a change to the `docs/content/docs/installation.mdx` file to improve the handling of authentication requests in the example code. The change simplifies the code by combining the GET and POST handlers into a single handler that supports both methods. * [`docs/content/docs/installation.mdx`](diffhunk://#diff-ba82586ad92db39dbd2ac8217dcbc24d7fb61452e2b1082d5040be08e5424118L296-R298): Combined GET and POST handlers into a single handler using `app.on` for improved code simplicity and maintainability. --- <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 10:54:46 -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#3467