[PR #2343] [CLOSED] feat: enhance getBaseURL util #4271

Closed
opened 2026-03-13 11:40:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2343
Author: @ktKongTong
Created: 4/17/2025
Status: Closed

Base: mainHead: ktKongTong-patch-1


📝 Commits (1)

  • 4520e21 feat: enhance getBaseURL util

📊 Changes

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

View changed files

📝 packages/better-auth/src/utils/url.ts (+15 -0)

📄 Description

check origin and referer header to get baseURL.


🔄 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/2343 **Author:** [@ktKongTong](https://github.com/ktKongTong) **Created:** 4/17/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `ktKongTong-patch-1` --- ### 📝 Commits (1) - [`4520e21`](https://github.com/better-auth/better-auth/commit/4520e21ee2497d5164b69e951f016d8a2ab81265) feat: enhance getBaseURL util ### 📊 Changes **1 file changed** (+15 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/utils/url.ts` (+15 -0) </details> ### 📄 Description check `origin` and `referer` header to get baseURL. --- <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 11:40:05 -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#4271