Skip to content

Commit

Permalink
Alinea content update
Browse files Browse the repository at this point in the history
update
Co-authored-by: Brecht Cloetens brecht@codeurs.be
  • Loading branch information
alinea-cloud[bot] authored and cloetensbrecht committed Feb 21, 2024
1 parent ff40dce commit 18c1262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/content/pages/docs/content/live-previews.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
{
"id": "2YlCBIFhktYqXLnxlG8MWbFhkA4",
"type": "CodeBlock",
"code": "export const cms = createNextCMS({\n // schema and workspaces ...\n preview:\n process.env.NODE_ENV === 'development'\n ? 'http://localhost:3000/api/preview'\n : '/api/preview'\n})",
"code": "import {createCMS} from 'alinea/next'\n\nexport const cms = createCMS({\n // schema and workspaces ...\n preview:\n process.env.NODE_ENV === 'development'\n ? 'http://localhost:3000/api/preview'\n : '/api/preview'\n})",
"fileName": "cms.tsx",
"language": "",
"compact": false
Expand Down

0 comments on commit 18c1262

Please sign in to comment.