Skip to content

Commit 5c77cae

Browse files
authored
fix(upgrade,nextjs): Update broken Clerk documentation references (clerk#4459)
1 parent da6fa77 commit 5c77cae

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

.changeset/purple-eels-fix.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@clerk/upgrade": patch
3+
"@clerk/nextjs": patch
4+
---
5+
6+
Updates broken Clerk documentation references

packages/nextjs/src/server/errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ To resolve this issue, make sure your system's clock is set to the correct time
3838
3939
${verifyMessage}`;
4040

41-
export const authSignatureInvalid = `Clerk: Unable to verify request, this usually means the Clerk middleware did not run. Ensure Clerk's middleware is properly integrated and matches the current route. For more information, see: https://clerk.com/docs/nextjs/middleware. (code=auth_signature_invalid)`;
41+
export const authSignatureInvalid = `Clerk: Unable to verify request, this usually means the Clerk middleware did not run. Ensure Clerk's middleware is properly integrated and matches the current route. For more information, see: https://clerk.com/docs/references/nextjs/clerk-middleware. (code=auth_signature_invalid)`;
4242

4343
export const encryptionKeyInvalid = `Clerk: Unable to decrypt request data, this usually means the encryption key is invalid. Ensure the encryption key is properly set. For more information, see: https://clerk.com/docs/references/nextjs/clerk-middleware#dynamic-keys. (code=encryption_key_invalid)`;

packages/upgrade/src/components/SDKWorkflow.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ export function SDKWorkflow(props) {
125125
<Newline />
126126
<Text>
127127
You can find more information about this change in the Clerk documentation at{' '}
128-
<Link url='https://clerk.com/docs/nextjs/rendering-modes'>
129-
https://clerk.com/docs/nextjs/rendering-modes
128+
<Link url='https://clerk.com/docs/references/nextjs/rendering-modes'>
129+
https://clerk.com/docs/references/nextjs/rendering-modes
130130
</Link>
131131
.
132132
</Text>

0 commit comments

Comments
 (0)