From 8590849c6ec194dd145c688dcf2ba6134a4273da Mon Sep 17 00:00:00 2001 From: Adam Mcgrath Date: Wed, 13 Sep 2023 18:17:03 +0100 Subject: [PATCH] Fix api path in next qs --- articles/quickstart/webapp/nextjs/files/auth.md | 2 +- articles/quickstart/webapp/nextjs/interactive.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/articles/quickstart/webapp/nextjs/files/auth.md b/articles/quickstart/webapp/nextjs/files/auth.md index f1cf51ee54..4a7cc02805 100644 --- a/articles/quickstart/webapp/nextjs/files/auth.md +++ b/articles/quickstart/webapp/nextjs/files/auth.md @@ -1,5 +1,5 @@ --- -name: "app/api/[auth0]/route.js" +name: "app/api/auth/[auth0]/route.js" language: javascript --- diff --git a/articles/quickstart/webapp/nextjs/interactive.md b/articles/quickstart/webapp/nextjs/interactive.md index fff30cd7b1..8cff7ed8ee 100644 --- a/articles/quickstart/webapp/nextjs/interactive.md +++ b/articles/quickstart/webapp/nextjs/interactive.md @@ -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).