Skip to content

Commit

Permalink
docs: add customizing-endpoints.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
runjuu committed Nov 2, 2023
1 parent 78b980c commit 44811ee
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sites/docs/src/pages/docs/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"notification": "Notification",
"x-settings": "xSettings",
"modals": "Modals",
"hooks": "Hooks"
"hooks": "Hooks",
"customizing-endpoints": "Customizing Endpoints"
}
11 changes: 11 additions & 0 deletions sites/docs/src/pages/docs/customizing-endpoints.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Customizing Endpoints

## Newbie Villa

The endpoint for [Newbie Villa Backend Service](https://github.com/Crossbell-Box/newbie-villa) can be customized using the [`setNewbieVillaEndpoint`](https://github.com/Crossbell-Box/crossbell-universe/blob/78b980cf7748303131f90b01a0fbd972c5076964/packages/react-account/src/endpoints-config.ts#L17) function.

```tsx filename="app.tsx"
import { setNewbieVillaEndpoint } from "@crossbell/react-account/endpoints-config";

setNewbieVillaEndpoint("https://newbie.crossbell.io/v1/");
```

1 comment on commit 44811ee

@vercel
Copy link

@vercel vercel bot commented on 44811ee Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

crossbell-universe – ./

crossbell-universe-git-main-crossbell.vercel.app
crossbell-dev.vercel.app
crossbell-universe-crossbell.vercel.app

Please sign in to comment.