[PR #919] [MERGED] fix: get-config paths for sveltekit or similar #3543

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/919
Author: @xKesvaL
Created: 12/17/2024
Status: Merged
Merged: 12/17/2024
Merged by: @Bekacru

Base: mainHead: fix/config-path-names


📝 Commits (1)

  • 326433b fix: get-config paths for sveltekit or similar

📊 Changes

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

View changed files

📝 packages/cli/src/utils/get-config.ts (+2 -2)

📄 Description

I'm using sveltekit and I wanted to put my auth.ts file in lib/server to follow sveltekit's project structure and better auth did not know where the config was anymore.

Found out this is most likely a typo in the get config file, just missing slashes.


🔄 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/919 **Author:** [@xKesvaL](https://github.com/xKesvaL) **Created:** 12/17/2024 **Status:** ✅ Merged **Merged:** 12/17/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/config-path-names` --- ### 📝 Commits (1) - [`326433b`](https://github.com/better-auth/better-auth/commit/326433b21bf9c3afe4dc601aad778b495816db42) fix: get-config paths for sveltekit or similar ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/cli/src/utils/get-config.ts` (+2 -2) </details> ### 📄 Description I'm using sveltekit and I wanted to put my `auth.ts` file in `lib/server` to follow [sveltekit's project structure](https://svelte.dev/docs/kit/project-structure) and better auth did not know where the config was anymore. Found out this is most likely a typo in the get config file, just missing slashes. --- <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:57:47 -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#3543