From cfab83b92626a5f93e91350e00ce864770faaf5a Mon Sep 17 00:00:00 2001 From: Adam Mcgrath Date: Thu, 14 Sep 2023 12:43:54 +0100 Subject: [PATCH] Fix api path in next qs (#10299) --- 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).