Skip to content

Commit

Permalink
0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benmerckx committed Oct 11, 2024
1 parent 6151009 commit b245426
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
export const POST = handler
```

This release also requires you to restructure you Alinea config file.
The dashboard property is replace by the `baseUrl`, `handlerUrl` and
This release also requires you to restructure your Alinea config file.
The dashboard property is replaced by the `baseUrl`, `handlerUrl` and
`dashboardFile` properties.

```tsx
Expand All @@ -43,8 +43,10 @@
const cms = createCMS({
// ... schema and workspaces
baseUrl: {
// Point this to you Next.js website
// Point this to your local frontend
development: 'http://localhost:3000'
// If hosting on vercel you can use: process.env.VERCEL_URL
production: 'http://example.com'
},
handlerUrl: '/api/cms',
dashboardFile: 'admin.html',
Expand Down

0 comments on commit b245426

Please sign in to comment.