Skip to content

Commit

Permalink
chore: add extra step to next adapter about route
Browse files Browse the repository at this point in the history
  • Loading branch information
apteryxxyz committed Oct 19, 2024
1 parent 560e127 commit 05208ed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/content/adapters/next.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ This is a continuation of the [Basic Setup](/getting-started/basic-setup) guide.
<div class="step" style={{ display: 'hidden' }} />
<div class="step" style={{ display: 'hidden' }} />

<Step>
### 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.
</Step>

<Step>
### Create a Handler

Expand Down

0 comments on commit 05208ed

Please sign in to comment.