[PR #8230] [MERGED] docs: remove unused getSrc utility #16081

Closed
opened 2026-04-13 10:22:41 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8230
Author: @himself65
Created: 3/1/2026
Status: Merged
Merged: 3/1/2026
Merged by: @himself65

Base: canaryHead: docs/remove-unused-getSrc


📝 Commits (1)

  • 88dc2ee docs: remove unused getSrc utility function

📊 Changes

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

View changed files

📝 landing/lib/utils.ts (+0 -8)

📄 Description

Summary

  • Remove dead getSrc function and ASSET_BASE_URL constant from landing/lib/utils.ts
  • After #8229, there are no callers — Next.js serves public assets at root-relative paths, making this helper unnecessary

Test plan

  • Verify landing page builds and videos still load correctly

🔄 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/8230 **Author:** [@himself65](https://github.com/himself65) **Created:** 3/1/2026 **Status:** ✅ Merged **Merged:** 3/1/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `docs/remove-unused-getSrc` --- ### 📝 Commits (1) - [`88dc2ee`](https://github.com/better-auth/better-auth/commit/88dc2ee92f88f568f3b40611971c7b5bbc2fd674) docs: remove unused getSrc utility function ### 📊 Changes **1 file changed** (+0 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `landing/lib/utils.ts` (+0 -8) </details> ### 📄 Description ## Summary - Remove dead `getSrc` function and `ASSET_BASE_URL` constant from `landing/lib/utils.ts` - After #8229, there are no callers — Next.js serves public assets at root-relative paths, making this helper unnecessary ## Test plan - [ ] Verify landing page builds and videos still load correctly --- <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-04-13 10:22:41 -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#16081