From 05208ed28079e4f39074b3d28951ac03cf7d2ca3 Mon Sep 17 00:00:00 2001 From: Apteryx Date: Sun, 20 Oct 2024 05:35:30 +1300 Subject: [PATCH] chore: add extra step to next adapter about route --- website/content/adapters/next.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/content/adapters/next.mdx b/website/content/adapters/next.mdx index 6d6ab425..14bf00e4 100644 --- a/website/content/adapters/next.mdx +++ b/website/content/adapters/next.mdx @@ -36,6 +36,12 @@ This is a continuation of the [Basic Setup](/getting-started/basic-setup) guide.
+ +### Move Handle File + +Ensure the file where you export your handler is placed at `src/app/api/discord/[...slug]/route.ts`. The catch all slug is necessary for handling each of the routes Carbon creates. + + ### Create a Handler