From c43b8cdb38649cfa70d69296a4eff037703605e6 Mon Sep 17 00:00:00 2001 From: Scott Wu Date: Wed, 25 Feb 2026 17:46:15 +0800 Subject: [PATCH 1/3] fix typo --- doc/content/docs/handling-errors.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/content/docs/handling-errors.mdx b/doc/content/docs/handling-errors.mdx index babad03..479b638 100644 --- a/doc/content/docs/handling-errors.mdx +++ b/doc/content/docs/handling-errors.mdx @@ -4,7 +4,7 @@ description: Handling Errors --- ## Default Error Type -Better fetch by default returns response errors as a value. By defaullt, the error object has 3 properties `status`, `statusText` and `message` properties. +Better fetch by default returns response errors as a value. By default, the error object has 3 properties `status`, `statusText` and `message` properties. `status` and `statusText` are always defined. If the api returns a json error object it will be parsed and returned with the error object. By default `error` includes `message` property that can be string or undefined. From 4f922ec1135bd00ee2a1ac91a3fc8770a78a3459 Mon Sep 17 00:00:00 2001 From: Scott Wu Date: Wed, 25 Feb 2026 17:46:24 +0800 Subject: [PATCH 2/3] update github url --- doc/README.md | 2 +- doc/app/layout.config.tsx | 2 +- doc/app/page.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/README.md b/doc/README.md index d6bd69f..76610f8 100644 --- a/doc/README.md +++ b/doc/README.md @@ -1,6 +1,6 @@ # Better Fetch Documentation -A documentation site for [better-fetch](https://github.com/bekacru/better-fetch). +A documentation site for [better-fetch](https://github.com/better-auth/better-fetch). ## Development diff --git a/doc/app/layout.config.tsx b/doc/app/layout.config.tsx index 38e79e9..4d3ab67 100644 --- a/doc/app/layout.config.tsx +++ b/doc/app/layout.config.tsx @@ -22,7 +22,7 @@ export const docsOptions: DocsLayoutProps = { sidebar: { collapsible: false, footer: ( - + ), diff --git a/doc/app/page.tsx b/doc/app/page.tsx index 7831d2c..ab57cff 100644 --- a/doc/app/page.tsx +++ b/doc/app/page.tsx @@ -21,7 +21,7 @@ export default function HomePage() { Docs - +