Skip to content

Commit

Permalink
Update protecting-pages.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
wobsoriano committed Dec 13, 2024
1 parent 0fbe641 commit 162d9f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/references/nuxt/protecting-pages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Learn how to protect your Nuxt pages by restricting access to authe
---

> [!NOTE]
> This page covers protecting pages. For protecting API routes instead, see our guide on [protecting API routes](/docs/references/nuxt/clerk-middleware#protect-api-routes).
> This page covers protecting pages. For API routes, see our [separate guide](/docs/references/nuxt/clerk-middleware#protect-api-routes).
To protect pages, first create a named route middleware that checks the user's authentication status:

Expand Down

0 comments on commit 162d9f2

Please sign in to comment.