From 18c1262536fe4c715f38c9589886873ac9ead754 Mon Sep 17 00:00:00 2001 From: "alinea-cloud[bot]" <106082022+alinea-cloud[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 20:33:58 +0000 Subject: [PATCH] Alinea content update update Co-authored-by: Brecht Cloetens brecht@codeurs.be --- apps/web/content/pages/docs/content/live-previews.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/content/pages/docs/content/live-previews.json b/apps/web/content/pages/docs/content/live-previews.json index 6ca97c133..506cf3b26 100644 --- a/apps/web/content/pages/docs/content/live-previews.json +++ b/apps/web/content/pages/docs/content/live-previews.json @@ -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