[PR #234] [MERGED] fix: nuxt internal fetch url #3176

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/234
Author: @matserix
Created: 10/19/2024
Status: Merged
Merged: 10/19/2024
Merged by: @Bekacru

Base: mainHead: nuxt-fetch-url


📝 Commits (1)

  • a46f26a fix: fetch error on same app

📊 Changes

3 files changed (+11 additions, -10 deletions)

View changed files

📝 docs/content/docs/integrations/nuxt.mdx (+4 -2)
📝 examples/nuxt-example/lib/auth-client.ts (+1 -3)
📝 packages/better-auth/src/client/vue.ts (+6 -5)

📄 Description

nuxt doesn't allow to fetch internal api using the complete url when rendering on the server.

This pr allows to still have a decoupled backend or a fullstack nuxt app.


🔄 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/234 **Author:** [@matserix](https://github.com/matserix) **Created:** 10/19/2024 **Status:** ✅ Merged **Merged:** 10/19/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `nuxt-fetch-url` --- ### 📝 Commits (1) - [`a46f26a`](https://github.com/better-auth/better-auth/commit/a46f26a1c7bd31bd05e6fd243007e67457ec57d8) fix: fetch error on same app ### 📊 Changes **3 files changed** (+11 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/integrations/nuxt.mdx` (+4 -2) 📝 `examples/nuxt-example/lib/auth-client.ts` (+1 -3) 📝 `packages/better-auth/src/client/vue.ts` (+6 -5) </details> ### 📄 Description nuxt doesn't allow to fetch internal api using the complete url when rendering on the server. This pr allows to still have a decoupled backend or a fullstack nuxt app. --- <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:42:29 -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#3176