From fcb91f6f132e8664bca8f9835a7a1c01c8b51e71 Mon Sep 17 00:00:00 2001 From: marcadrian Date: Wed, 8 Nov 2023 05:46:01 +0100 Subject: [PATCH] fix(nextjs): Removes the dot that breaks the link to the docs (#2077) * fix(nextjs): Removes the dot that breaks the link to the docs * Create honest-onions-work.md --------- Co-authored-by: Nikos Douvlis --- .changeset/honest-onions-work.md | 5 +++++ packages/nextjs/src/server/errors.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/honest-onions-work.md diff --git a/.changeset/honest-onions-work.md b/.changeset/honest-onions-work.md new file mode 100644 index 0000000000..264b9f2aa0 --- /dev/null +++ b/.changeset/honest-onions-work.md @@ -0,0 +1,5 @@ +--- +"@clerk/nextjs": patch +--- + +Fixes the docs link pointing to clerk.com/docs in the `authAuthHeaderMissing` error by removing the trailing `.` diff --git a/packages/nextjs/src/server/errors.ts b/packages/nextjs/src/server/errors.ts index 88cd3d4009..0948c25e79 100644 --- a/packages/nextjs/src/server/errors.ts +++ b/packages/nextjs/src/server/errors.ts @@ -36,7 +36,7 @@ export const authAuthHeaderMissing = (helperName = 'auth') => - Your Middleware matcher is configured to match this route or page. - If you are using the src directory, make sure the Middleware file is inside of it. -For more details, see https://clerk.com/docs/quickstarts/get-started-with-nextjs. +For more details, see https://clerk.com/docs/quickstarts/get-started-with-nextjs `; export const clockSkewDetected = (verifyMessage: string) =>