Skip to content

Commit

Permalink
Fix api path in next qs (#10299)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath committed Sep 14, 2023
1 parent 0f95d0e commit cfab83b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion articles/quickstart/webapp/nextjs/files/auth.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: "app/api/[auth0]/route.js"
name: "app/api/auth/[auth0]/route.js"
language: javascript
---

Expand Down
2 changes: 1 addition & 1 deletion articles/quickstart/webapp/nextjs/interactive.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ In the root directory of your project, add the file `.env.local` with the follow

The SDK will read these values from the Node.js process environment and automatically configure itself.

## Add the dynamic Route Handler {{{ data-action=code data-code="app/api/[auth0]/route.js" }}}
## Add the dynamic Route Handler {{{ data-action=code data-code="app/api/auth/[auth0]/route.js" }}}

Create a file at `app/api/auth/[auth0]/route.js`. This is your Route Handler file with a [Dynamic Route Segment](https://nextjs.org/docs/app/building-your-application/routing/route-handlers#dynamic-route-segments).

Expand Down

0 comments on commit cfab83b

Please sign in to comment.