docs: fix incorrect link for outside-nextjs in local-api importing it section (#8764)
Currently in the `beta` docs at the bottom of [Local API Overview Import It section](https://payloadcms.com/docs/beta/local-api/overview#importing-it) there is a link for _Outside Nextjs_ which incorrectly sends you to `/docs/beta/beta/local-api/outside-nextjs` instead of `docs/beta/local-api/outside-nextjs`. Interestingly enough, a `Not Found` component/message is not rendered and instead you see a blank screen. --------- Co-authored-by: Sasha <64744993+r1tsuu@users.noreply.github.com>
This commit is contained in:
@@ -71,7 +71,7 @@ import config from '@payload-config'
|
||||
const payload = await getPayload({ config })
|
||||
```
|
||||
|
||||
Both options function in exactly the same way outside of one having HMR support and the other not. For more information about using Payload outside of Next.js, [click here](/docs/beta/local-api/outside-nextjs).
|
||||
Both options function in exactly the same way outside of one having HMR support and the other not. For more information about using Payload outside of Next.js, [click here](./outside-nextjs).
|
||||
|
||||
## Local options available
|
||||
|
||||
|
||||
Reference in New Issue
Block a user