[{"data":1,"prerenderedAt":2679},["ShallowReactive",2],{"navigation_docs":3,"-docs-guide-deployment-vercel":478,"-docs-guide-deployment-vercel-surround":2674},[4,352,446],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Docs",false,"\u002Fdocs\u002Fcore","docs\u002F1.core",[10,35,141,174,195,212,242,318],{"title":11,"icon":6,"path":12,"stem":13,"children":14,"page":6},"Getting Started","\u002Fdocs\u002Fcore\u002Fgetting-started","docs\u002F1.core\u002F1.getting-started",[15,19,23,27,31],{"title":16,"path":17,"stem":18},"Introduction","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fintroduction","docs\u002F1.core\u002F1.getting-started\u002F1.introduction",{"title":20,"path":21,"stem":22},"Quick Start","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fquick-start","docs\u002F1.core\u002F1.getting-started\u002F2.quick-start",{"title":24,"path":25,"stem":26},"Add to an Existing Site","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fexisting-site","docs\u002F1.core\u002F1.getting-started\u002F3.existing-site",{"title":28,"path":29,"stem":30},"Configuration","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fconfiguration","docs\u002F1.core\u002F1.getting-started\u002F4.configuration",{"title":32,"path":33,"stem":34},"How Tenon works","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fhow-tenon-works","docs\u002F1.core\u002F1.getting-started\u002F5.how-tenon-works",{"title":36,"icon":6,"path":37,"stem":38,"children":39,"page":6},"Content Modeling","\u002Fdocs\u002Fcore\u002Fcontent-modeling","docs\u002F1.core\u002F2.content-modeling",[40,44,111,115,119],{"title":41,"path":42,"stem":43},"Collections and Globals","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fcollections-and-globals","docs\u002F1.core\u002F2.content-modeling\u002F1.collections-and-globals",{"title":45,"icon":6,"path":46,"stem":47,"children":48},"Fields","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002Findex",[49,51,55,59,63,67,71,75,79,83,87,91,95,99,103,107],{"title":50,"path":46,"stem":47},"Overview",{"title":52,"path":53,"stem":54},"Array","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Farray","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F01.array",{"title":56,"path":57,"stem":58},"Blocks","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fblocks","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F02.blocks",{"title":60,"path":61,"stem":62},"Boolean","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fboolean","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F03.boolean",{"title":64,"path":65,"stem":66},"Date","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fdate","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F04.date",{"title":68,"path":69,"stem":70},"File","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Ffile","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F05.file",{"title":72,"path":73,"stem":74},"Group","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fgroup","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F06.group",{"title":76,"path":77,"stem":78},"Image","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fimage","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F07.image",{"title":80,"path":81,"stem":82},"Link","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Flink","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F08.link",{"title":84,"path":85,"stem":86},"Number","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fnumber","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F09.number",{"title":88,"path":89,"stem":90},"Relation","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Frelation","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F10.relation",{"title":92,"path":93,"stem":94},"Rich text","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Frich-text","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F11.rich-text",{"title":96,"path":97,"stem":98},"Select","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fselect","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F12.select",{"title":100,"path":101,"stem":102},"Size","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fsize","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F13.size",{"title":104,"path":105,"stem":106},"Slug","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fslug","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F14.slug",{"title":108,"path":109,"stem":110},"Text","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Ftext","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F15.text",{"title":112,"path":113,"stem":114},"Relations","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Frelations","docs\u002F1.core\u002F2.content-modeling\u002F3.relations",{"title":116,"path":117,"stem":118},"Media","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fmedia","docs\u002F1.core\u002F2.content-modeling\u002F4.media",{"title":120,"icon":6,"path":121,"stem":122,"children":123},"Presets","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002Findex",[124,125,129,133,137],{"title":50,"path":121,"stem":122},{"title":126,"path":127,"stem":128},"Menu","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fmenu","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F1.menu",{"title":130,"path":131,"stem":132},"Pages","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fpages","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F2.pages",{"title":134,"path":135,"stem":136},"Settings","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fsettings","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F3.settings",{"title":138,"path":139,"stem":140},"Strings","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fstrings","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F4.strings",{"title":142,"icon":6,"path":143,"stem":144,"children":145,"page":6},"Working with Content","\u002Fdocs\u002Fcore\u002Fworking-with-content","docs\u002F1.core\u002F3.working-with-content",[146,150,154,158,162,166,170],{"title":147,"path":148,"stem":149},"Reading","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Freading","docs\u002F1.core\u002F3.working-with-content\u002F1.reading",{"title":151,"path":152,"stem":153},"Writing and Drafts","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fwriting","docs\u002F1.core\u002F3.working-with-content\u002F2.writing",{"title":155,"path":156,"stem":157},"Scheduled publishing","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fscheduled-publishing","docs\u002F1.core\u002F3.working-with-content\u002F3.scheduled-publishing",{"title":159,"path":160,"stem":161},"HTTP API and Client","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fhttp-api-and-client","docs\u002F1.core\u002F3.working-with-content\u002F4.http-api-and-client",{"title":163,"path":164,"stem":165},"Headless","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fheadless","docs\u002F1.core\u002F3.working-with-content\u002F5.headless",{"title":167,"path":168,"stem":169},"Localization","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Flocalization","docs\u002F1.core\u002F3.working-with-content\u002F6.localization",{"title":171,"path":172,"stem":173},"Hooks","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fhooks","docs\u002F1.core\u002F3.working-with-content\u002F7.hooks",{"title":175,"icon":6,"path":176,"stem":177,"children":178,"page":6},"Building Your Site","\u002Fdocs\u002Fcore\u002Fbuilding-your-site","docs\u002F1.core\u002F4.building-your-site",[179,183,187,191],{"title":180,"path":181,"stem":182},"Pages and SEO","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Fpages-and-seo","docs\u002F1.core\u002F4.building-your-site\u002F1.pages-and-seo",{"title":184,"path":185,"stem":186},"Components","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Fcomponents","docs\u002F1.core\u002F4.building-your-site\u002F2.components",{"title":188,"path":189,"stem":190},"Menus","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Fmenus","docs\u002F1.core\u002F4.building-your-site\u002F3.menus",{"title":192,"path":193,"stem":194},"Live Preview","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Flive-preview","docs\u002F1.core\u002F4.building-your-site\u002F4.live-preview",{"title":196,"icon":6,"path":197,"stem":198,"children":199,"page":6},"Users and Access","\u002Fdocs\u002Fcore\u002Fusers-and-access","docs\u002F1.core\u002F5.users-and-access",[200,204,208],{"title":201,"path":202,"stem":203},"Authentication","\u002Fdocs\u002Fcore\u002Fusers-and-access\u002Fauthentication","docs\u002F1.core\u002F5.users-and-access\u002F1.authentication",{"title":205,"path":206,"stem":207},"Access Control","\u002Fdocs\u002Fcore\u002Fusers-and-access\u002Faccess-control","docs\u002F1.core\u002F5.users-and-access\u002F2.access-control",{"title":209,"path":210,"stem":211},"API Keys","\u002Fdocs\u002Fcore\u002Fusers-and-access\u002Fapi-keys","docs\u002F1.core\u002F5.users-and-access\u002F3.api-keys",{"title":213,"icon":6,"path":214,"stem":215,"children":216},"Customization","\u002Fdocs\u002Fcore\u002Fcustomization","docs\u002F1.core\u002F6.customization\u002Findex",[217,218,222,226,230,234,238],{"title":50,"path":214,"stem":215},{"title":219,"path":220,"stem":221},"Admin","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fadmin","docs\u002F1.core\u002F6.customization\u002F1.admin",{"title":223,"path":224,"stem":225},"Custom Fields","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fcustom-fields","docs\u002F1.core\u002F6.customization\u002F2.custom-fields",{"title":227,"path":228,"stem":229},"Custom Pages and Actions","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fcustom-pages-and-actions","docs\u002F1.core\u002F6.customization\u002F3.custom-pages-and-actions",{"title":231,"path":232,"stem":233},"Styles and UI Libraries","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fstyles-and-ui-libraries","docs\u002F1.core\u002F6.customization\u002F4.styles-and-ui-libraries",{"title":235,"path":236,"stem":237},"Rich Text Extensions","\u002Fdocs\u002Fcore\u002Fcustomization\u002Frich-text-extensions","docs\u002F1.core\u002F6.customization\u002F5.rich-text-extensions",{"title":239,"path":240,"stem":241},"Plugins","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fplugins","docs\u002F1.core\u002F6.customization\u002F6.plugins",{"title":243,"icon":6,"path":244,"stem":245,"children":246},"Operations","\u002Fdocs\u002Fcore\u002Foperations","docs\u002F1.core\u002F7.operations\u002Findex",[247,248,266,288,306,310,314],{"title":50,"path":244,"stem":245},{"title":249,"icon":6,"path":250,"stem":251,"children":252},"Email","\u002Fdocs\u002Fcore\u002Foperations\u002Femail","docs\u002F1.core\u002F7.operations\u002F1.email\u002Findex",[253,254,258,262],{"title":50,"path":250,"stem":251},{"title":255,"path":256,"stem":257},"SMTP","\u002Fdocs\u002Fcore\u002Foperations\u002Femail\u002Fsmtp","docs\u002F1.core\u002F7.operations\u002F1.email\u002F1.smtp",{"title":259,"path":260,"stem":261},"Cloudflare","\u002Fdocs\u002Fcore\u002Foperations\u002Femail\u002Fcloudflare","docs\u002F1.core\u002F7.operations\u002F1.email\u002F2.cloudflare",{"title":263,"path":264,"stem":265},"Custom adapter","\u002Fdocs\u002Fcore\u002Foperations\u002Femail\u002Fcustom-adapter","docs\u002F1.core\u002F7.operations\u002F1.email\u002F3.custom-adapter",{"title":267,"icon":6,"path":268,"stem":269,"children":270},"Jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002Findex",[271,272,276,280,284],{"title":50,"path":268,"stem":269},{"title":273,"path":274,"stem":275},"Queue jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Fqueue-jobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F1.queue-jobs",{"title":277,"path":278,"stem":279},"Recurring jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Frecurring-jobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F2.recurring-jobs",{"title":281,"path":282,"stem":283},"The clock","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Fclock","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F3.clock",{"title":285,"path":286,"stem":287},"Manage jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Fmanage-jobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F4.manage-jobs",{"title":289,"icon":6,"path":290,"stem":291,"children":292},"Webhooks","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002Findex",[293,294,298,302],{"title":50,"path":290,"stem":291},{"title":295,"path":296,"stem":297},"Send webhooks","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks\u002Fsend-webhooks","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002F1.send-webhooks",{"title":299,"path":300,"stem":301},"Receive webhooks","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks\u002Freceive-webhooks","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002F2.receive-webhooks",{"title":303,"path":304,"stem":305},"Rebuild on publish","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks\u002Frebuild-on-publish","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002F3.rebuild-on-publish",{"title":307,"path":308,"stem":309},"Backup and Restore","\u002Fdocs\u002Fcore\u002Foperations\u002Fbackup-and-restore","docs\u002F1.core\u002F7.operations\u002F4.backup-and-restore",{"title":311,"path":312,"stem":313},"Lifecycle Hooks","\u002Fdocs\u002Fcore\u002Foperations\u002Flifecycle-hooks","docs\u002F1.core\u002F7.operations\u002F5.lifecycle-hooks",{"title":315,"path":316,"stem":317},"Upgrades and Schema Changes","\u002Fdocs\u002Fcore\u002Foperations\u002Fupgrades-and-schema-changes","docs\u002F1.core\u002F7.operations\u002F6.upgrades-and-schema-changes",{"title":319,"icon":6,"path":320,"stem":321,"children":322,"page":6},"Reference","\u002Fdocs\u002Fcore\u002Freference","docs\u002F1.core\u002F8.reference",[323,326,344,348],{"title":28,"path":324,"stem":325},"\u002Fdocs\u002Fcore\u002Freference\u002Fconfiguration","docs\u002F1.core\u002F8.reference\u002F1.configuration",{"title":327,"icon":6,"path":328,"stem":329,"children":330},"API","\u002Fdocs\u002Fcore\u002Freference\u002Fapi","docs\u002F1.core\u002F8.reference\u002F2.api\u002Findex",[331,332,336,340],{"title":50,"path":328,"stem":329},{"title":333,"path":334,"stem":335},"Local API","\u002Fdocs\u002Fcore\u002Freference\u002Fapi\u002Flocal-api","docs\u002F1.core\u002F8.reference\u002F2.api\u002F1.local-api",{"title":337,"path":338,"stem":339},"Client","\u002Fdocs\u002Fcore\u002Freference\u002Fapi\u002Fclient","docs\u002F1.core\u002F8.reference\u002F2.api\u002F2.client",{"title":341,"path":342,"stem":343},"HTTP routes","\u002Fdocs\u002Fcore\u002Freference\u002Fapi\u002Fhttp-routes","docs\u002F1.core\u002F8.reference\u002F2.api\u002F3.http-routes",{"title":345,"path":346,"stem":347},"Errors and types","\u002Fdocs\u002Fcore\u002Freference\u002Ferrors-and-types","docs\u002F1.core\u002F8.reference\u002F3.errors-and-types",{"title":349,"path":350,"stem":351},"Package exports","\u002Fdocs\u002Fcore\u002Freference\u002Fpackage-exports","docs\u002F1.core\u002F8.reference\u002F4.package-exports",{"title":353,"icon":6,"path":354,"stem":355,"children":356,"page":6},"Guide","\u002Fdocs\u002Fguide","docs\u002F2.guide",[357,383,400,417],{"title":358,"icon":6,"path":359,"stem":360,"children":361},"Frameworks","\u002Fdocs\u002Fguide\u002Fframeworks","docs\u002F2.guide\u002F1.frameworks\u002Findex",[362,363,367,371,375,379],{"title":50,"path":359,"stem":360},{"title":364,"path":365,"stem":366},"Astro","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fastro","docs\u002F2.guide\u002F1.frameworks\u002F1.astro",{"title":368,"path":369,"stem":370},"Nuxt","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fnuxt","docs\u002F2.guide\u002F1.frameworks\u002F2.nuxt",{"title":372,"path":373,"stem":374},"TanStack Start","\u002Fdocs\u002Fguide\u002Fframeworks\u002Ftanstack-start","docs\u002F2.guide\u002F1.frameworks\u002F3.tanstack-start",{"title":376,"path":377,"stem":378},"Standalone","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fstandalone","docs\u002F2.guide\u002F1.frameworks\u002F4.standalone",{"title":380,"path":381,"stem":382},"Other Frameworks","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fother-frameworks","docs\u002F2.guide\u002F1.frameworks\u002F5.other-frameworks",{"title":384,"icon":6,"path":385,"stem":386,"children":387},"Deployment","\u002Fdocs\u002Fguide\u002Fdeployment","docs\u002F2.guide\u002F2.deployment\u002Findex",[388,389,393,397],{"title":50,"path":385,"stem":386},{"title":390,"path":391,"stem":392},"Node","\u002Fdocs\u002Fguide\u002Fdeployment\u002Fnode","docs\u002F2.guide\u002F2.deployment\u002F1.node",{"title":394,"path":395,"stem":396},"Vercel","\u002Fdocs\u002Fguide\u002Fdeployment\u002Fvercel","docs\u002F2.guide\u002F2.deployment\u002F2.vercel",{"title":259,"path":398,"stem":399},"\u002Fdocs\u002Fguide\u002Fdeployment\u002Fcloudflare","docs\u002F2.guide\u002F2.deployment\u002F3.cloudflare",{"title":401,"icon":6,"path":402,"stem":403,"children":404,"page":6},"Databases and Storage","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage","docs\u002F2.guide\u002F3.databases-and-storage",[405,409,413],{"title":406,"path":407,"stem":408},"Databases","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fdatabases","docs\u002F2.guide\u002F3.databases-and-storage\u002F1.databases",{"title":410,"path":411,"stem":412},"Media Storage","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fmedia-storage","docs\u002F2.guide\u002F3.databases-and-storage\u002F2.media-storage",{"title":414,"path":415,"stem":416},"Image Providers","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fimage-providers","docs\u002F2.guide\u002F3.databases-and-storage\u002F3.image-providers",{"title":418,"icon":6,"path":419,"stem":420,"children":421,"page":6},"Recipes","\u002Fdocs\u002Fguide\u002Frecipes","docs\u002F2.guide\u002F4.recipes",[422,426,430,434,438,442],{"title":423,"path":424,"stem":425},"Seed Content","\u002Fdocs\u002Fguide\u002Frecipes\u002Fseed-content","docs\u002F2.guide\u002F4.recipes\u002F1.seed-content",{"title":427,"path":428,"stem":429},"Tracking and Consent","\u002Fdocs\u002Fguide\u002Frecipes\u002Ftracking-and-consent","docs\u002F2.guide\u002F4.recipes\u002F2.tracking-and-consent",{"title":431,"path":432,"stem":433},"Build a Custom Field","\u002Fdocs\u002Fguide\u002Frecipes\u002Fbuild-a-custom-field","docs\u002F2.guide\u002F4.recipes\u002F3.build-a-custom-field",{"title":435,"path":436,"stem":437},"Write a Plugin","\u002Fdocs\u002Fguide\u002Frecipes\u002Fwrite-a-plugin","docs\u002F2.guide\u002F4.recipes\u002F4.write-a-plugin",{"title":439,"path":440,"stem":441},"Build a Headless Site with Next.js","\u002Fdocs\u002Fguide\u002Frecipes\u002Fbuild-a-headless-site-with-nextjs","docs\u002F2.guide\u002F4.recipes\u002F5.build-a-headless-site-with-nextjs",{"title":443,"path":444,"stem":445},"Troubleshooting","\u002Fdocs\u002Fguide\u002Frecipes\u002Ftroubleshooting","docs\u002F2.guide\u002F4.recipes\u002F6.troubleshooting",{"title":447,"icon":6,"path":448,"stem":449,"children":450,"page":6},"CLI","\u002Fdocs\u002Fcli","docs\u002F3.cli",[451,454,458,462,466,470,474],{"title":50,"path":452,"stem":453},"\u002Fdocs\u002Fcli\u002Foverview","docs\u002F3.cli\u002F1.overview",{"title":455,"path":456,"stem":457},"create-tenoncms","\u002Fdocs\u002Fcli\u002Fcreate-tenoncms","docs\u002F3.cli\u002F2.create-tenoncms",{"title":459,"path":460,"stem":461},"tenon backup","\u002Fdocs\u002Fcli\u002Fbackup","docs\u002F3.cli\u002F3.backup",{"title":463,"path":464,"stem":465},"tenon users","\u002Fdocs\u002Fcli\u002Fusers","docs\u002F3.cli\u002F4.users",{"title":467,"path":468,"stem":469},"tenon media","\u002Fdocs\u002Fcli\u002Fmedia","docs\u002F3.cli\u002F5.media",{"title":471,"path":472,"stem":473},"tenon upgrade","\u002Fdocs\u002Fcli\u002Fupgrade","docs\u002F3.cli\u002F6.upgrade",{"title":475,"path":476,"stem":477},"tenon login","\u002Fdocs\u002Fcli\u002Flogin","docs\u002F3.cli\u002F7.login",{"id":479,"title":394,"body":480,"description":2668,"extension":2669,"links":2670,"meta":2671,"navigation":632,"path":395,"seo":2672,"stem":396,"__hash__":2673},"docs\u002Fdocs\u002F2.guide\u002F2.deployment\u002F2.vercel.md",{"type":481,"value":482,"toc":2651},"minimark",[483,487,492,523,530,534,537,929,939,943,954,1321,1347,1360,1364,1384,1764,1805,1814,1818,1825,1994,2043,2049,2052,2059,2103,2110,2117,2174,2177,2273,2276,2280,2285,2406,2409,2423,2426,2449,2453,2467,2604,2607,2611,2647],[484,485,486],"p",{},"On Vercel, Tenon runs in your site's serverless functions. A function keeps no files, so the database and the media files live outside it. This page sets up both, the variables, the job clock and preview deployments.",[488,489,491],"h2",{"id":490},"before-you-start","Before you start",[493,494,495,499,516],"ul",{},[496,497,498],"li",{},"A Vercel project for your site.",[496,500,501,502,506,507,510,511,515],{},"A project from ",[503,504,505],"code",{},"npm create tenoncms@latest"," with the target ",[508,509,394],"strong",{},", or a site set up as in ",[512,513,514],"a",{"href":25},"Add to an existing site",".",[496,517,518,519,522],{},"Astro needs the Vercel adapter, ",[503,520,521],{},"@astrojs\u002Fvercel",". Nuxt, TanStack Start and Standalone build for Vercel without extra config.",[484,524,525,526,515],{},"A walkthrough with Neon is at the end: ",[512,527,529],{"href":528},"#walkthrough-vercel-with-neon","Vercel with Neon",[488,531,533],{"id":532},"connect-a-database","Connect a database",[484,535,536],{},"A file in the function does not persist, so use Postgres or Turso.",[538,539,540,742],"tabs",{},[541,542,544,559],"tabs-item",{"label":543},"Postgres",[484,545,546,547,550,551,554,555,558],{},"Install ",[503,548,549],{},"pg"," and ",[503,552,553],{},"@vercel\u002Ffunctions",". Use the pooled connection string of your provider, for example the host with ",[503,556,557],{},"-pooler"," on Neon:",[560,561,567],"pre",{"className":562,"code":563,"filename":564,"language":565,"meta":566,"style":566},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { attachDatabasePool } from \"@vercel\u002Ffunctions\";\nimport { postgres } from \"tenoncms\u002Fpostgres\";\n\nconst database = postgres(process.env.DATABASE_URL!);\n\u002F\u002F Vercel suspends idle functions. Their idle connections MUST close first.\nattachDatabasePool(database.pool);\n\nexport default defineCms({\n  database,\n  \u002F\u002F ...\n});\n","tenon.config.ts","ts","",[503,568,569,604,627,634,671,678,694,699,717,726,732],{"__ignoreMap":566},[570,571,574,578,582,586,589,592,595,598,601],"span",{"class":572,"line":573},"line",1,[570,575,577],{"class":576},"s7zQu","import",[570,579,581],{"class":580},"sMK4o"," {",[570,583,585],{"class":584},"sTEyZ"," attachDatabasePool",[570,587,588],{"class":580}," }",[570,590,591],{"class":576}," from",[570,593,594],{"class":580}," \"",[570,596,553],{"class":597},"sfazB",[570,599,600],{"class":580},"\"",[570,602,603],{"class":580},";\n",[570,605,607,609,611,614,616,618,620,623,625],{"class":572,"line":606},2,[570,608,577],{"class":576},[570,610,581],{"class":580},[570,612,613],{"class":584}," postgres",[570,615,588],{"class":580},[570,617,591],{"class":576},[570,619,594],{"class":580},[570,621,622],{"class":597},"tenoncms\u002Fpostgres",[570,624,600],{"class":580},[570,626,603],{"class":580},[570,628,630],{"class":572,"line":629},3,[570,631,633],{"emptyLinePlaceholder":632},true,"\n",[570,635,637,641,644,647,650,653,655,658,660,663,666,669],{"class":572,"line":636},4,[570,638,640],{"class":639},"spNyl","const",[570,642,643],{"class":584}," database ",[570,645,646],{"class":580},"=",[570,648,613],{"class":649},"s2Zo4",[570,651,652],{"class":584},"(process",[570,654,515],{"class":580},[570,656,657],{"class":584},"env",[570,659,515],{"class":580},[570,661,662],{"class":584},"DATABASE_URL",[570,664,665],{"class":580},"!",[570,667,668],{"class":584},")",[570,670,603],{"class":580},[570,672,674],{"class":572,"line":673},5,[570,675,677],{"class":676},"sHwdD","\u002F\u002F Vercel suspends idle functions. Their idle connections MUST close first.\n",[570,679,681,684,687,689,692],{"class":572,"line":680},6,[570,682,683],{"class":649},"attachDatabasePool",[570,685,686],{"class":584},"(database",[570,688,515],{"class":580},[570,690,691],{"class":584},"pool)",[570,693,603],{"class":580},[570,695,697],{"class":572,"line":696},7,[570,698,633],{"emptyLinePlaceholder":632},[570,700,702,705,708,711,714],{"class":572,"line":701},8,[570,703,704],{"class":576},"export",[570,706,707],{"class":576}," default",[570,709,710],{"class":649}," defineCms",[570,712,713],{"class":584},"(",[570,715,716],{"class":580},"{\n",[570,718,720,723],{"class":572,"line":719},9,[570,721,722],{"class":584},"  database",[570,724,725],{"class":580},",\n",[570,727,729],{"class":572,"line":728},10,[570,730,731],{"class":676},"  \u002F\u002F ...\n",[570,733,735,738,740],{"class":572,"line":734},11,[570,736,737],{"class":580},"}",[570,739,668],{"class":584},[570,741,603],{"class":580},[541,743,745,751,801,920],{"label":744},"Turso",[484,746,546,747,750],{},[503,748,749],{},"@libsql\u002Fclient",". Create a database and a token with the Turso CLI:",[560,752,756],{"className":753,"code":754,"language":755,"meta":566,"style":566},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","turso db create my-site\nturso db show my-site --url\nturso db tokens create my-site\n","bash",[503,757,758,773,788],{"__ignoreMap":566},[570,759,760,764,767,770],{"class":572,"line":573},[570,761,763],{"class":762},"sBMFI","turso",[570,765,766],{"class":597}," db",[570,768,769],{"class":597}," create",[570,771,772],{"class":597}," my-site\n",[570,774,775,777,779,782,785],{"class":572,"line":606},[570,776,763],{"class":762},[570,778,766],{"class":597},[570,780,781],{"class":597}," show",[570,783,784],{"class":597}," my-site",[570,786,787],{"class":597}," --url\n",[570,789,790,792,794,797,799],{"class":572,"line":629},[570,791,763],{"class":762},[570,793,766],{"class":597},[570,795,796],{"class":597}," tokens",[570,798,769],{"class":597},[570,800,772],{"class":597},[560,802,804],{"className":562,"code":803,"filename":564,"language":565,"meta":566,"style":566},"import { libsql } from \"tenoncms\u002Flibsql\";\n\nexport default defineCms({\n  database: libsql({\n    url: process.env.DATABASE_URL!,\n    authToken: process.env.DATABASE_AUTH_TOKEN,\n  }),\n  \u002F\u002F ...\n});\n",[503,805,806,828,832,844,858,879,899,908,912],{"__ignoreMap":566},[570,807,808,810,812,815,817,819,821,824,826],{"class":572,"line":573},[570,809,577],{"class":576},[570,811,581],{"class":580},[570,813,814],{"class":584}," libsql",[570,816,588],{"class":580},[570,818,591],{"class":576},[570,820,594],{"class":580},[570,822,823],{"class":597},"tenoncms\u002Flibsql",[570,825,600],{"class":580},[570,827,603],{"class":580},[570,829,830],{"class":572,"line":606},[570,831,633],{"emptyLinePlaceholder":632},[570,833,834,836,838,840,842],{"class":572,"line":629},[570,835,704],{"class":576},[570,837,707],{"class":576},[570,839,710],{"class":649},[570,841,713],{"class":584},[570,843,716],{"class":580},[570,845,846,849,852,854,856],{"class":572,"line":636},[570,847,722],{"class":848},"swJcz",[570,850,851],{"class":580},":",[570,853,814],{"class":649},[570,855,713],{"class":584},[570,857,716],{"class":580},[570,859,860,863,865,868,870,872,874,876],{"class":572,"line":673},[570,861,862],{"class":848},"    url",[570,864,851],{"class":580},[570,866,867],{"class":584}," process",[570,869,515],{"class":580},[570,871,657],{"class":584},[570,873,515],{"class":580},[570,875,662],{"class":584},[570,877,878],{"class":580},"!,\n",[570,880,881,884,886,888,890,892,894,897],{"class":572,"line":680},[570,882,883],{"class":848},"    authToken",[570,885,851],{"class":580},[570,887,867],{"class":584},[570,889,515],{"class":580},[570,891,657],{"class":584},[570,893,515],{"class":580},[570,895,896],{"class":584},"DATABASE_AUTH_TOKEN",[570,898,725],{"class":580},[570,900,901,904,906],{"class":572,"line":696},[570,902,903],{"class":580},"  }",[570,905,668],{"class":584},[570,907,725],{"class":580},[570,909,910],{"class":572,"line":701},[570,911,731],{"class":676},[570,913,914,916,918],{"class":572,"line":719},[570,915,737],{"class":580},[570,917,668],{"class":584},[570,919,603],{"class":580},[484,921,922,923,925,926,515],{},"In development, ",[503,924,662],{}," can stay a local file, like ",[503,927,928],{},"file:.\u002Fcms.db",[484,930,931,932,936,937,515],{},"Read the variables the way your framework does. See ",[512,933,935],{"href":934},"\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fconfiguration#environment-variables","Environment variables",". For more on each database, see ",[512,938,406],{"href":407},[488,940,942],{"id":941},"store-media-in-a-bucket","Store media in a bucket",[484,944,945,946,949,950,953],{},"The function's disk is read-only, so the default storage on the local disk does not work. Without a ",[503,947,948],{},"media"," option there is no media library, and ",[503,951,952],{},"media: true"," throws. Use any S3-compatible bucket, or R2 with API keys:",[538,955,956,1154],{},[541,957,959],{"label":958},"S3",[560,960,962],{"className":562,"code":961,"filename":564,"language":565,"meta":566,"style":566},"import { s3 } from \"tenoncms\u002Fmedia\u002Fs3\";\n\nexport default defineCms({\n  \u002F\u002F ...\n  media: {\n    storage: s3({\n      bucket: process.env.S3_BUCKET!,\n      region: process.env.AWS_REGION!,\n      endpoint: process.env.AWS_ENDPOINT_URL_S3,\n      accessKeyId: process.env.AWS_ACCESS_KEY_ID!,\n      secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY!,\n    }),\n  },\n});\n",[503,963,964,986,990,1002,1006,1016,1029,1049,1069,1089,1109,1129,1139,1145],{"__ignoreMap":566},[570,965,966,968,970,973,975,977,979,982,984],{"class":572,"line":573},[570,967,577],{"class":576},[570,969,581],{"class":580},[570,971,972],{"class":584}," s3",[570,974,588],{"class":580},[570,976,591],{"class":576},[570,978,594],{"class":580},[570,980,981],{"class":597},"tenoncms\u002Fmedia\u002Fs3",[570,983,600],{"class":580},[570,985,603],{"class":580},[570,987,988],{"class":572,"line":606},[570,989,633],{"emptyLinePlaceholder":632},[570,991,992,994,996,998,1000],{"class":572,"line":629},[570,993,704],{"class":576},[570,995,707],{"class":576},[570,997,710],{"class":649},[570,999,713],{"class":584},[570,1001,716],{"class":580},[570,1003,1004],{"class":572,"line":636},[570,1005,731],{"class":676},[570,1007,1008,1011,1013],{"class":572,"line":673},[570,1009,1010],{"class":848},"  media",[570,1012,851],{"class":580},[570,1014,1015],{"class":580}," {\n",[570,1017,1018,1021,1023,1025,1027],{"class":572,"line":680},[570,1019,1020],{"class":848},"    storage",[570,1022,851],{"class":580},[570,1024,972],{"class":649},[570,1026,713],{"class":584},[570,1028,716],{"class":580},[570,1030,1031,1034,1036,1038,1040,1042,1044,1047],{"class":572,"line":696},[570,1032,1033],{"class":848},"      bucket",[570,1035,851],{"class":580},[570,1037,867],{"class":584},[570,1039,515],{"class":580},[570,1041,657],{"class":584},[570,1043,515],{"class":580},[570,1045,1046],{"class":584},"S3_BUCKET",[570,1048,878],{"class":580},[570,1050,1051,1054,1056,1058,1060,1062,1064,1067],{"class":572,"line":701},[570,1052,1053],{"class":848},"      region",[570,1055,851],{"class":580},[570,1057,867],{"class":584},[570,1059,515],{"class":580},[570,1061,657],{"class":584},[570,1063,515],{"class":580},[570,1065,1066],{"class":584},"AWS_REGION",[570,1068,878],{"class":580},[570,1070,1071,1074,1076,1078,1080,1082,1084,1087],{"class":572,"line":719},[570,1072,1073],{"class":848},"      endpoint",[570,1075,851],{"class":580},[570,1077,867],{"class":584},[570,1079,515],{"class":580},[570,1081,657],{"class":584},[570,1083,515],{"class":580},[570,1085,1086],{"class":584},"AWS_ENDPOINT_URL_S3",[570,1088,725],{"class":580},[570,1090,1091,1094,1096,1098,1100,1102,1104,1107],{"class":572,"line":728},[570,1092,1093],{"class":848},"      accessKeyId",[570,1095,851],{"class":580},[570,1097,867],{"class":584},[570,1099,515],{"class":580},[570,1101,657],{"class":584},[570,1103,515],{"class":580},[570,1105,1106],{"class":584},"AWS_ACCESS_KEY_ID",[570,1108,878],{"class":580},[570,1110,1111,1114,1116,1118,1120,1122,1124,1127],{"class":572,"line":734},[570,1112,1113],{"class":848},"      secretAccessKey",[570,1115,851],{"class":580},[570,1117,867],{"class":584},[570,1119,515],{"class":580},[570,1121,657],{"class":584},[570,1123,515],{"class":580},[570,1125,1126],{"class":584},"AWS_SECRET_ACCESS_KEY",[570,1128,878],{"class":580},[570,1130,1132,1135,1137],{"class":572,"line":1131},12,[570,1133,1134],{"class":580},"    }",[570,1136,668],{"class":584},[570,1138,725],{"class":580},[570,1140,1142],{"class":572,"line":1141},13,[570,1143,1144],{"class":580},"  },\n",[570,1146,1148,1150,1152],{"class":572,"line":1147},14,[570,1149,737],{"class":580},[570,1151,668],{"class":584},[570,1153,603],{"class":580},[541,1155,1157],{"label":1156},"R2",[560,1158,1160],{"className":562,"code":1159,"filename":564,"language":565,"meta":566,"style":566},"import { r2 } from \"tenoncms\u002Fmedia\u002Fr2\";\n\nexport default defineCms({\n  \u002F\u002F ...\n  media: {\n    storage: r2({\n      accountId: process.env.CLOUDFLARE_ACCOUNT_ID!,\n      bucket: process.env.R2_BUCKET!,\n      accessKeyId: process.env.R2_ACCESS_KEY_ID!,\n      secretAccessKey: process.env.R2_SECRET_ACCESS_KEY!,\n    }),\n  },\n});\n",[503,1161,1162,1184,1188,1200,1204,1212,1224,1244,1263,1282,1301,1309,1313],{"__ignoreMap":566},[570,1163,1164,1166,1168,1171,1173,1175,1177,1180,1182],{"class":572,"line":573},[570,1165,577],{"class":576},[570,1167,581],{"class":580},[570,1169,1170],{"class":584}," r2",[570,1172,588],{"class":580},[570,1174,591],{"class":576},[570,1176,594],{"class":580},[570,1178,1179],{"class":597},"tenoncms\u002Fmedia\u002Fr2",[570,1181,600],{"class":580},[570,1183,603],{"class":580},[570,1185,1186],{"class":572,"line":606},[570,1187,633],{"emptyLinePlaceholder":632},[570,1189,1190,1192,1194,1196,1198],{"class":572,"line":629},[570,1191,704],{"class":576},[570,1193,707],{"class":576},[570,1195,710],{"class":649},[570,1197,713],{"class":584},[570,1199,716],{"class":580},[570,1201,1202],{"class":572,"line":636},[570,1203,731],{"class":676},[570,1205,1206,1208,1210],{"class":572,"line":673},[570,1207,1010],{"class":848},[570,1209,851],{"class":580},[570,1211,1015],{"class":580},[570,1213,1214,1216,1218,1220,1222],{"class":572,"line":680},[570,1215,1020],{"class":848},[570,1217,851],{"class":580},[570,1219,1170],{"class":649},[570,1221,713],{"class":584},[570,1223,716],{"class":580},[570,1225,1226,1229,1231,1233,1235,1237,1239,1242],{"class":572,"line":696},[570,1227,1228],{"class":848},"      accountId",[570,1230,851],{"class":580},[570,1232,867],{"class":584},[570,1234,515],{"class":580},[570,1236,657],{"class":584},[570,1238,515],{"class":580},[570,1240,1241],{"class":584},"CLOUDFLARE_ACCOUNT_ID",[570,1243,878],{"class":580},[570,1245,1246,1248,1250,1252,1254,1256,1258,1261],{"class":572,"line":701},[570,1247,1033],{"class":848},[570,1249,851],{"class":580},[570,1251,867],{"class":584},[570,1253,515],{"class":580},[570,1255,657],{"class":584},[570,1257,515],{"class":580},[570,1259,1260],{"class":584},"R2_BUCKET",[570,1262,878],{"class":580},[570,1264,1265,1267,1269,1271,1273,1275,1277,1280],{"class":572,"line":719},[570,1266,1093],{"class":848},[570,1268,851],{"class":580},[570,1270,867],{"class":584},[570,1272,515],{"class":580},[570,1274,657],{"class":584},[570,1276,515],{"class":580},[570,1278,1279],{"class":584},"R2_ACCESS_KEY_ID",[570,1281,878],{"class":580},[570,1283,1284,1286,1288,1290,1292,1294,1296,1299],{"class":572,"line":728},[570,1285,1113],{"class":848},[570,1287,851],{"class":580},[570,1289,867],{"class":584},[570,1291,515],{"class":580},[570,1293,657],{"class":584},[570,1295,515],{"class":580},[570,1297,1298],{"class":584},"R2_SECRET_ACCESS_KEY",[570,1300,878],{"class":580},[570,1302,1303,1305,1307],{"class":572,"line":734},[570,1304,1134],{"class":580},[570,1306,668],{"class":584},[570,1308,725],{"class":580},[570,1310,1311],{"class":572,"line":1131},[570,1312,1144],{"class":580},[570,1314,1315,1317,1319],{"class":572,"line":1141},[570,1316,737],{"class":580},[570,1318,668],{"class":584},[570,1320,603],{"class":580},[493,1322,1323,1334,1341],{},[496,1324,1325,1326,1329,1330,1333],{},"The browser uploads straight to the bucket, so Vercel's 4.5 MB request limit does not apply. The bucket MUST allow ",[503,1327,1328],{},"PUT"," from your site in its CORS rules and expose the ",[503,1331,1332],{},"ETag"," header.",[496,1335,1336,1337,1340],{},"Without ",[503,1338,1339],{},"publicUrl",", the bucket stays private. The function serves the files, and Vercel's CDN keeps them for up to an hour.",[496,1342,1343,1346],{},[503,1344,1345],{},"prefix"," puts every file in a folder of the bucket, so several sites or a staging site can share one bucket.",[484,1348,1349,1350,1353,1354,1356,1357,1359],{},"See ",[512,1351,1352],{"href":411},"Media storage"," for CORS, ",[503,1355,1339],{},", ",[503,1358,1345],{}," and lifecycle rules.",[488,1361,1363],{"id":1362},"resize-images","Resize images",[484,1365,1366,1369,1370,1373,1374,1377,1378,1380,1381,851],{},[503,1367,1368],{},"vercel()"," from ",[503,1371,1372],{},"tenoncms\u002Fmedia\u002Fvercel"," uses Vercel Image Optimization. Turn it on in the framework config, with the same widths as ",[503,1375,1376],{},"images.sizes"," in ",[503,1379,564],{},". The default is ",[503,1382,1383],{},"[320, 640, 1024, 1536, 1920]",[1385,1386,1388,1517,1620],"code-group",{"sync":1387},"framework",[560,1389,1391],{"className":562,"code":1390,"filename":364,"language":565,"meta":566,"style":566},"\u002F\u002F astro.config.ts\nimport vercel from \"@astrojs\u002Fvercel\";\n\nexport default defineConfig({\n  adapter: vercel({ imagesConfig: { sizes: [320, 640, 1024, 1536, 1920], domains: [] } }),\n});\n",[503,1392,1393,1398,1416,1420,1433,1509],{"__ignoreMap":566},[570,1394,1395],{"class":572,"line":573},[570,1396,1397],{"class":676},"\u002F\u002F astro.config.ts\n",[570,1399,1400,1402,1405,1408,1410,1412,1414],{"class":572,"line":606},[570,1401,577],{"class":576},[570,1403,1404],{"class":584}," vercel ",[570,1406,1407],{"class":576},"from",[570,1409,594],{"class":580},[570,1411,521],{"class":597},[570,1413,600],{"class":580},[570,1415,603],{"class":580},[570,1417,1418],{"class":572,"line":629},[570,1419,633],{"emptyLinePlaceholder":632},[570,1421,1422,1424,1426,1429,1431],{"class":572,"line":636},[570,1423,704],{"class":576},[570,1425,707],{"class":576},[570,1427,1428],{"class":649}," defineConfig",[570,1430,713],{"class":584},[570,1432,716],{"class":580},[570,1434,1435,1438,1440,1443,1445,1448,1451,1453,1455,1458,1460,1463,1467,1470,1473,1475,1478,1480,1483,1485,1488,1491,1493,1496,1498,1501,1503,1505,1507],{"class":572,"line":673},[570,1436,1437],{"class":848},"  adapter",[570,1439,851],{"class":580},[570,1441,1442],{"class":649}," vercel",[570,1444,713],{"class":584},[570,1446,1447],{"class":580},"{",[570,1449,1450],{"class":848}," imagesConfig",[570,1452,851],{"class":580},[570,1454,581],{"class":580},[570,1456,1457],{"class":848}," sizes",[570,1459,851],{"class":580},[570,1461,1462],{"class":584}," [",[570,1464,1466],{"class":1465},"sbssI","320",[570,1468,1469],{"class":580},",",[570,1471,1472],{"class":1465}," 640",[570,1474,1469],{"class":580},[570,1476,1477],{"class":1465}," 1024",[570,1479,1469],{"class":580},[570,1481,1482],{"class":1465}," 1536",[570,1484,1469],{"class":580},[570,1486,1487],{"class":1465}," 1920",[570,1489,1490],{"class":584},"]",[570,1492,1469],{"class":580},[570,1494,1495],{"class":848}," domains",[570,1497,851],{"class":580},[570,1499,1500],{"class":584}," [] ",[570,1502,737],{"class":580},[570,1504,588],{"class":580},[570,1506,668],{"class":584},[570,1508,725],{"class":580},[570,1510,1511,1513,1515],{"class":572,"line":680},[570,1512,737],{"class":580},[570,1514,668],{"class":584},[570,1516,603],{"class":580},[560,1518,1520],{"className":562,"code":1519,"filename":368,"language":565,"meta":566,"style":566},"\u002F\u002F nuxt.config.ts\nexport default defineNuxtConfig({\n  nitro: { vercel: { config: { images: { sizes: [320, 640, 1024, 1536, 1920], domains: [] } } } },\n});\n",[503,1521,1522,1527,1540,1612],{"__ignoreMap":566},[570,1523,1524],{"class":572,"line":573},[570,1525,1526],{"class":676},"\u002F\u002F nuxt.config.ts\n",[570,1528,1529,1531,1533,1536,1538],{"class":572,"line":606},[570,1530,704],{"class":576},[570,1532,707],{"class":576},[570,1534,1535],{"class":649}," defineNuxtConfig",[570,1537,713],{"class":584},[570,1539,716],{"class":580},[570,1541,1542,1545,1547,1549,1551,1553,1555,1558,1560,1562,1565,1567,1569,1571,1573,1575,1577,1579,1581,1583,1585,1587,1589,1591,1593,1595,1597,1599,1601,1603,1605,1607,1609],{"class":572,"line":629},[570,1543,1544],{"class":848},"  nitro",[570,1546,851],{"class":580},[570,1548,581],{"class":580},[570,1550,1442],{"class":848},[570,1552,851],{"class":580},[570,1554,581],{"class":580},[570,1556,1557],{"class":848}," config",[570,1559,851],{"class":580},[570,1561,581],{"class":580},[570,1563,1564],{"class":848}," images",[570,1566,851],{"class":580},[570,1568,581],{"class":580},[570,1570,1457],{"class":848},[570,1572,851],{"class":580},[570,1574,1462],{"class":584},[570,1576,1466],{"class":1465},[570,1578,1469],{"class":580},[570,1580,1472],{"class":1465},[570,1582,1469],{"class":580},[570,1584,1477],{"class":1465},[570,1586,1469],{"class":580},[570,1588,1482],{"class":1465},[570,1590,1469],{"class":580},[570,1592,1487],{"class":1465},[570,1594,1490],{"class":584},[570,1596,1469],{"class":580},[570,1598,1495],{"class":848},[570,1600,851],{"class":580},[570,1602,1500],{"class":584},[570,1604,737],{"class":580},[570,1606,588],{"class":580},[570,1608,588],{"class":580},[570,1610,1611],{"class":580}," },\n",[570,1613,1614,1616,1618],{"class":572,"line":636},[570,1615,737],{"class":580},[570,1617,668],{"class":584},[570,1619,603],{"class":580},[560,1621,1623],{"className":562,"code":1622,"filename":372,"language":565,"meta":566,"style":566},"\u002F\u002F vite.config.ts\nconst vercel = { config: { images: { sizes: [320, 640, 1024, 1536, 1920], domains: [] } } };\n\nexport default defineConfig({\n  plugins: [tanstackStart(), nitro({ vercel }), viteReact(), tenonAdmin()],\n});\n",[503,1624,1625,1630,1693,1697,1709,1756],{"__ignoreMap":566},[570,1626,1627],{"class":572,"line":573},[570,1628,1629],{"class":676},"\u002F\u002F vite.config.ts\n",[570,1631,1632,1634,1636,1638,1640,1642,1644,1646,1648,1650,1652,1654,1656,1658,1660,1662,1664,1666,1668,1670,1672,1674,1676,1678,1680,1682,1684,1686,1688,1690],{"class":572,"line":606},[570,1633,640],{"class":639},[570,1635,1404],{"class":584},[570,1637,646],{"class":580},[570,1639,581],{"class":580},[570,1641,1557],{"class":848},[570,1643,851],{"class":580},[570,1645,581],{"class":580},[570,1647,1564],{"class":848},[570,1649,851],{"class":580},[570,1651,581],{"class":580},[570,1653,1457],{"class":848},[570,1655,851],{"class":580},[570,1657,1462],{"class":584},[570,1659,1466],{"class":1465},[570,1661,1469],{"class":580},[570,1663,1472],{"class":1465},[570,1665,1469],{"class":580},[570,1667,1477],{"class":1465},[570,1669,1469],{"class":580},[570,1671,1482],{"class":1465},[570,1673,1469],{"class":580},[570,1675,1487],{"class":1465},[570,1677,1490],{"class":584},[570,1679,1469],{"class":580},[570,1681,1495],{"class":848},[570,1683,851],{"class":580},[570,1685,1500],{"class":584},[570,1687,737],{"class":580},[570,1689,588],{"class":580},[570,1691,1692],{"class":580}," };\n",[570,1694,1695],{"class":572,"line":629},[570,1696,633],{"emptyLinePlaceholder":632},[570,1698,1699,1701,1703,1705,1707],{"class":572,"line":636},[570,1700,704],{"class":576},[570,1702,707],{"class":576},[570,1704,1428],{"class":649},[570,1706,713],{"class":584},[570,1708,716],{"class":580},[570,1710,1711,1714,1716,1718,1721,1724,1726,1729,1731,1733,1735,1737,1739,1741,1744,1746,1748,1751,1754],{"class":572,"line":673},[570,1712,1713],{"class":848},"  plugins",[570,1715,851],{"class":580},[570,1717,1462],{"class":584},[570,1719,1720],{"class":649},"tanstackStart",[570,1722,1723],{"class":584},"()",[570,1725,1469],{"class":580},[570,1727,1728],{"class":649}," nitro",[570,1730,713],{"class":584},[570,1732,1447],{"class":580},[570,1734,1404],{"class":584},[570,1736,737],{"class":580},[570,1738,668],{"class":584},[570,1740,1469],{"class":580},[570,1742,1743],{"class":649}," viteReact",[570,1745,1723],{"class":584},[570,1747,1469],{"class":580},[570,1749,1750],{"class":649}," tenonAdmin",[570,1752,1753],{"class":584},"()]",[570,1755,725],{"class":580},[570,1757,1758,1760,1762],{"class":572,"line":680},[570,1759,737],{"class":580},[570,1761,668],{"class":584},[570,1763,603],{"class":580},[493,1765,1766,1782,1785,1799],{},[496,1767,1768,1769,1377,1772,1775,1776,550,1779,515],{},"Standalone sets the same ",[503,1770,1771],{},"nitro({ vercel })",[503,1773,1774],{},"vite.config.ts",", without ",[503,1777,1778],{},"tanstackStart()",[503,1780,1781],{},"viteReact()",[496,1783,1784],{},"The Vercel starters write this config. Change both lists together.",[496,1786,1787,1788,1790,1791,1794,1795,1798],{},"With ",[503,1789,1339],{}," on the bucket, also allow its host in ",[503,1792,1793],{},"remotePatterns"," of the same ",[503,1796,1797],{},"images"," block.",[496,1800,1801,1802,1804],{},"Outside Vercel, ",[503,1803,1368],{}," returns the originals, so development needs nothing.",[484,1806,1807,1810,1811,515],{},[503,1808,1809],{},"ipx()"," and the image services work on Vercel too. See ",[512,1812,1813],{"href":415},"Image providers",[488,1815,1817],{"id":1816},"set-the-environment-variables","Set the environment variables",[484,1819,1820,1821,1824],{},"Set them in ",[508,1822,1823],{},"Project Settings → Environment Variables",". The starters use these names:",[1826,1827,1828,1841],"table",{},[1829,1830,1831],"thead",{},[1832,1833,1834,1838],"tr",{},[1835,1836,1837],"th",{},"Variable",[1835,1839,1840],{},"What it is",[1842,1843,1844,1858,1871,1880,1889,1898,1907,1916,1925,1934,1944,1953,1962,1971,1980],"tbody",{},[1832,1845,1846,1852],{},[1847,1848,1849],"td",{},[503,1850,1851],{},"TENON_SECRET",[1847,1853,1854,1855],{},"Signs sessions. At least 32 characters: ",[503,1856,1857],{},"openssl rand -hex 32",[1832,1859,1860,1865],{},[1847,1861,1862],{},[503,1863,1864],{},"TENON_SITE_URL",[1847,1866,1867,1868],{},"The production origin, like ",[503,1869,1870],{},"https:\u002F\u002Fexample.com",[1832,1872,1873,1877],{},[1847,1874,1875],{},[503,1876,662],{},[1847,1878,1879],{},"The pooled Postgres URL, or the Turso URL",[1832,1881,1882,1886],{},[1847,1883,1884],{},[503,1885,896],{},[1847,1887,1888],{},"The Turso token",[1832,1890,1891,1895],{},[1847,1892,1893],{},[503,1894,1086],{},[1847,1896,1897],{},"S3: the endpoint of the bucket",[1832,1899,1900,1904],{},[1847,1901,1902],{},[503,1903,1106],{},[1847,1905,1906],{},"S3: the access key",[1832,1908,1909,1913],{},[1847,1910,1911],{},[503,1912,1126],{},[1847,1914,1915],{},"S3: the secret key",[1832,1917,1918,1922],{},[1847,1919,1920],{},[503,1921,1066],{},[1847,1923,1924],{},"S3: the region",[1832,1926,1927,1931],{},[1847,1928,1929],{},[503,1930,1046],{},[1847,1932,1933],{},"S3: the bucket name",[1832,1935,1936,1941],{},[1847,1937,1938],{},[503,1939,1940],{},"S3_PREFIX",[1847,1942,1943],{},"S3: a folder in the bucket. Optional",[1832,1945,1946,1950],{},[1847,1947,1948],{},[503,1949,1241],{},[1847,1951,1952],{},"R2 and Cloudflare Email Service: your account ID",[1832,1954,1955,1959],{},[1847,1956,1957],{},[503,1958,1260],{},[1847,1960,1961],{},"R2: the bucket name",[1832,1963,1964,1968],{},[1847,1965,1966],{},[503,1967,1279],{},[1847,1969,1970],{},"R2: the key of an R2 API token",[1832,1972,1973,1977],{},[1847,1974,1975],{},[503,1976,1298],{},[1847,1978,1979],{},"R2: the secret of that token",[1832,1981,1982,1987],{},[1847,1983,1984],{},[503,1985,1986],{},"CRON_SECRET",[1847,1988,1989,1990],{},"The token of the clock route. See ",[512,1991,1993],{"href":1992},"#run-the-jobs","Run the jobs",[493,1995,1996,2006,2037],{},[496,1997,1998,1999,2002,2003,515],{},"In Nuxt, each variable has the ",[503,2000,2001],{},"NUXT_"," prefix, like ",[503,2004,2005],{},"NUXT_TENON_SECRET",[496,2007,2008,2009,1356,2012,1356,2015,1356,2018,550,2021,2024,2025,2027,2028,550,2031,2024,2033,515],{},"Email adds its own: ",[503,2010,2011],{},"SMTP_HOST",[503,2013,2014],{},"SMTP_PORT",[503,2016,2017],{},"SMTP_USER",[503,2019,2020],{},"SMTP_PASSWORD",[503,2022,2023],{},"EMAIL_FROM"," for ",[512,2026,255],{"href":256},", or ",[503,2029,2030],{},"CLOUDFLARE_EMAIL_API_TOKEN",[503,2032,2023],{},[512,2034,2036],{"href":2035},"\u002Fdocs\u002Fcore\u002Foperations\u002Femail\u002Fcloudflare#anywhere-else-api","Cloudflare Email Service",[496,2038,2039,2040,515],{},"A hosted image service adds its URL variable. The starter lists every variable in ",[503,2041,2042],{},".env.example",[484,2044,2045,2046,2048],{},"Vercel also gives the variables to the build. A build that prerenders pages loads ",[503,2047,564],{}," and reads the database, so it needs the same values as the functions.",[488,2050,1993],{"id":2051},"run-the-jobs",[484,2053,2054,2055,2058],{},"Vercel has no process that keeps running, so nothing ticks the ",[512,2056,2057],{"href":282},"job clock"," by itself. The Vercel starters turn the built-in clock off:",[1826,2060,2061,2071],{},[1829,2062,2063],{},[1832,2064,2065,2068],{},[1835,2066,2067],{},"Framework",[1835,2069,2070],{},"On Vercel",[1842,2072,2073,2080,2091],{},[1832,2074,2075,2077],{},[1847,2076,364],{},[1847,2078,2079],{},"No built-in clock",[1832,2081,2082,2084],{},[1847,2083,368],{},[1847,2085,2086,2087,2090],{},"Nitro 2 makes no Vercel Cron Job, so the task never runs. The starter sets ",[503,2088,2089],{},"tenonCms: { jobs: false }",". The module warns in a Vercel build without it",[1832,2092,2093,2096],{},[1847,2094,2095],{},"TanStack Start, Standalone",[1847,2097,2098,2099,2102],{},"Nitro 3 makes a Vercel Cron Job every minute. The starter sets ",[503,2100,2101],{},"tenonAdmin({ jobs: false })",", because of the Hobby limit",[2104,2105,2106,2109],"warning",{},[508,2107,2108],{},"Vercel Hobby"," allows one cron job a day, and a deploy with a cron every minute fails.",[484,2111,2112,2113,2116],{},"Call the clock route instead. Set a secret, and the route ",[503,2114,2115],{},"\u002F_tenon\u002Fjobs\u002Frun"," appears:",[560,2118,2120],{"className":562,"code":2119,"filename":564,"language":565,"meta":566,"style":566},"export default defineCms({\n  \u002F\u002F ...\n  jobs: { secret: process.env.CRON_SECRET },\n});\n",[503,2121,2122,2134,2138,2166],{"__ignoreMap":566},[570,2123,2124,2126,2128,2130,2132],{"class":572,"line":573},[570,2125,704],{"class":576},[570,2127,707],{"class":576},[570,2129,710],{"class":649},[570,2131,713],{"class":584},[570,2133,716],{"class":580},[570,2135,2136],{"class":572,"line":606},[570,2137,731],{"class":676},[570,2139,2140,2143,2145,2147,2150,2152,2154,2156,2158,2160,2163],{"class":572,"line":629},[570,2141,2142],{"class":848},"  jobs",[570,2144,851],{"class":580},[570,2146,581],{"class":580},[570,2148,2149],{"class":848}," secret",[570,2151,851],{"class":580},[570,2153,867],{"class":584},[570,2155,515],{"class":580},[570,2157,657],{"class":584},[570,2159,515],{"class":580},[570,2161,2162],{"class":584},"CRON_SECRET ",[570,2164,2165],{"class":580},"},\n",[570,2167,2168,2170,2172],{"class":572,"line":636},[570,2169,737],{"class":580},[570,2171,668],{"class":584},[570,2173,603],{"class":580},[484,2175,2176],{},"Then tick it every minute:",[493,2178,2179,2188],{},[496,2180,2181,2184,2185,515],{},[508,2182,2183],{},"On Hobby",", call it from an outside cron service with the header ",[503,2186,2187],{},"Authorization: Bearer \u003CCRON_SECRET>",[496,2189,2190,2193,2194,2196,2197,2265,2268,2269,2272],{},[508,2191,2192],{},"On Pro",", add a Vercel Cron Job. Vercel sends ",[503,2195,1986],{}," as that header:",[560,2198,2203],{"className":2199,"code":2200,"filename":2201,"language":2202,"meta":566,"style":566},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"crons\": [{ \"path\": \"\u002F_tenon\u002Fjobs\u002Frun\", \"schedule\": \"* * * * *\" }]\n}\n","vercel.json","json",[503,2204,2205,2209,2260],{"__ignoreMap":566},[570,2206,2207],{"class":572,"line":573},[570,2208,716],{"class":580},[570,2210,2211,2214,2217,2219,2221,2224,2226,2229,2231,2233,2235,2237,2239,2241,2243,2246,2248,2250,2252,2255,2257],{"class":572,"line":606},[570,2212,2213],{"class":580},"  \"",[570,2215,2216],{"class":639},"crons",[570,2218,600],{"class":580},[570,2220,851],{"class":580},[570,2222,2223],{"class":580}," [{",[570,2225,594],{"class":580},[570,2227,2228],{"class":762},"path",[570,2230,600],{"class":580},[570,2232,851],{"class":580},[570,2234,594],{"class":580},[570,2236,2115],{"class":597},[570,2238,600],{"class":580},[570,2240,1469],{"class":580},[570,2242,594],{"class":580},[570,2244,2245],{"class":762},"schedule",[570,2247,600],{"class":580},[570,2249,851],{"class":580},[570,2251,594],{"class":580},[570,2253,2254],{"class":597},"* * * * *",[570,2256,600],{"class":580},[570,2258,2259],{"class":580}," }]\n",[570,2261,2262],{"class":572,"line":629},[570,2263,2264],{"class":580},"}\n",[2266,2267],"br",{},"On TanStack Start and Standalone, you can remove ",[503,2270,2271],{},"jobs: false"," instead. Nitro then adds the cron job.",[484,2274,2275],{},"Without a clock, scheduled publishing, queued jobs and webhooks wait.",[488,2277,2279],{"id":2278},"preview-deployments-and-prerendered-pages","Preview deployments and prerendered pages",[484,2281,2282,2284],{},[503,2283,1864],{}," fixes the origin of sign-in. A preview deployment runs on another host, so sign-in there fails with the production URL. Pick one:",[493,2286,2287,2297],{},[496,2288,2289,2290,2292,2293,2296],{},"Leave ",[503,2291,1864],{}," unset for the ",[508,2294,2295],{},"Preview"," environment. Auth then uses the host of each request.",[496,2298,2299,2300,2303,2304,851,2307],{},"Give previews a fixed domain, like ",[503,2301,2302],{},"preview.example.com",", and list it in ",[503,2305,2306],{},"auth.baseURL",[560,2308,2310],{"className":562,"code":2309,"filename":564,"language":565,"meta":566,"style":566},"export default defineCms({\n  \u002F\u002F ...\n  auth: {\n    baseURL: {\n      allowedHosts: [\"example.com\", \"preview.example.com\"],\n      fallback: \"https:\u002F\u002Fexample.com\",\n    },\n  },\n});\n",[503,2311,2312,2324,2328,2337,2346,2374,2389,2394,2398],{"__ignoreMap":566},[570,2313,2314,2316,2318,2320,2322],{"class":572,"line":573},[570,2315,704],{"class":576},[570,2317,707],{"class":576},[570,2319,710],{"class":649},[570,2321,713],{"class":584},[570,2323,716],{"class":580},[570,2325,2326],{"class":572,"line":606},[570,2327,731],{"class":676},[570,2329,2330,2333,2335],{"class":572,"line":629},[570,2331,2332],{"class":848},"  auth",[570,2334,851],{"class":580},[570,2336,1015],{"class":580},[570,2338,2339,2342,2344],{"class":572,"line":636},[570,2340,2341],{"class":848},"    baseURL",[570,2343,851],{"class":580},[570,2345,1015],{"class":580},[570,2347,2348,2351,2353,2355,2357,2360,2362,2364,2366,2368,2370,2372],{"class":572,"line":673},[570,2349,2350],{"class":848},"      allowedHosts",[570,2352,851],{"class":580},[570,2354,1462],{"class":584},[570,2356,600],{"class":580},[570,2358,2359],{"class":597},"example.com",[570,2361,600],{"class":580},[570,2363,1469],{"class":580},[570,2365,594],{"class":580},[570,2367,2302],{"class":597},[570,2369,600],{"class":580},[570,2371,1490],{"class":584},[570,2373,725],{"class":580},[570,2375,2376,2379,2381,2383,2385,2387],{"class":572,"line":680},[570,2377,2378],{"class":848},"      fallback",[570,2380,851],{"class":580},[570,2382,594],{"class":580},[570,2384,1870],{"class":597},[570,2386,600],{"class":580},[570,2388,725],{"class":580},[570,2390,2391],{"class":572,"line":696},[570,2392,2393],{"class":580},"    },\n",[570,2395,2396],{"class":572,"line":701},[570,2397,1144],{"class":580},[570,2399,2400,2402,2404],{"class":572,"line":719},[570,2401,737],{"class":580},[570,2403,668],{"class":584},[570,2405,603],{"class":580},[484,2407,2408],{},"A passkey works only on the host it was created on.",[2410,2411,2412,2413,2415,2416,2419,2420,2422],"caution",{},"A preview deployment with the production ",[503,2414,662],{}," writes to production content. If it runs a newer ",[503,2417,2418],{},"tenoncms",", its first request also migrates the production database. Give the ",[508,2421,2295],{}," environment its own database and bucket.",[484,2424,2425],{},"A prerendered page shows the content of the last build. To keep it current:",[493,2427,2428,2439],{},[496,2429,2430,2431,2434,2435,515],{},"Give the collection a ",[503,2432,2433],{},"preview"," URL that renders per request, so editors see drafts before a build. See ",[512,2436,2438],{"href":2437},"\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Flive-preview#prerendered-pages-and-preview-routes","Prerendered pages and preview routes",[496,2440,2441,2442,2445,2446,515],{},"Start a new build after each publish with a ",[512,2443,2444],{"href":304},"Vercel deploy hook",", from ",[508,2447,2448],{},"Project Settings → Git → Deploy Hooks",[488,2450,2452],{"id":2451},"walkthrough-vercel-with-neon","Walkthrough: Vercel with Neon",[484,2454,2455,2456,2458,2459,2461,2462,2464,2465,515],{},"Neon has Postgres and S3-compatible object storage in one project. This walkthrough takes a project from ",[503,2457,505],{},", with the target ",[508,2460,394],{},", the database ",[508,2463,543],{}," and the storage ",[508,2466,958],{},[2468,2469,2471,2476,2485,2489,2497,2501,2504,2562,2575,2579,2593,2597],"steps",{"level":2470},"3",[2472,2473,2475],"h3",{"id":2474},"create-the-neon-project","Create the Neon project",[484,2477,2478,2479,2024,2482,515],{},"Create a Neon project in the region of your Vercel functions, for example ",[503,2480,2481],{},"aws-eu-central-1",[503,2483,2484],{},"fra1",[2472,2486,2488],{"id":2487},"copy-the-database-url","Copy the database URL",[484,2490,2491,2492,2494,2495,515],{},"Copy the pooled connection string, with ",[503,2493,557],{}," in the host. It is ",[503,2496,662],{},[2472,2498,2500],{"id":2499},"create-the-bucket","Create the bucket",[484,2502,2503],{},"Create a bucket in the project's object storage and keep its access private. Copy these values:",[1826,2505,2506,2515],{},[1829,2507,2508],{},[1832,2509,2510,2513],{},[1835,2511,2512],{},"From Neon",[1835,2514,1837],{},[1842,2516,2517,2526,2535,2544,2553],{},[1832,2518,2519,2522],{},[1847,2520,2521],{},"The S3 endpoint",[1847,2523,2524],{},[503,2525,1086],{},[1832,2527,2528,2531],{},[1847,2529,2530],{},"The access key",[1847,2532,2533],{},[503,2534,1106],{},[1832,2536,2537,2540],{},[1847,2538,2539],{},"The secret key",[1847,2541,2542],{},[503,2543,1126],{},[1832,2545,2546,2549],{},[1847,2547,2548],{},"The region",[1847,2550,2551],{},[503,2552,1066],{},[1832,2554,2555,2558],{},[1847,2556,2557],{},"The bucket name",[1847,2559,2560],{},[503,2561,1046],{},[484,2563,2564,2565,2567,2568,2570,2571,2574],{},"A new Neon bucket allows ",[503,2566,1328],{}," from every origin and exposes ",[503,2569,1332],{},", which uploads need. To allow only your site, send ",[503,2572,2573],{},"PutBucketCors"," with the S3 API.",[2472,2576,2578],{"id":2577},"set-the-variables-in-vercel","Set the variables in Vercel",[484,2580,2581,2582,1369,2584,2586,2587,2589,2590,2592],{},"Set the variables from the last two steps, ",[503,2583,1851],{},[503,2585,1857],{},", and ",[503,2588,1864],{}," with the production origin. In Nuxt, add the ",[503,2591,2001],{}," prefix to each.",[2472,2594,2596],{"id":2595},"deploy-and-sign-in","Deploy and sign in",[484,2598,2599,2600,2603],{},"Deploy the project. Open ",[503,2601,2602],{},"\u002Fadmin"," and create the first admin.",[484,2605,2606],{},"Neon stores lifecycle rules but does not run them, so the bucket does not clean up unfinished uploads. Each Neon branch has its own buckets.",[488,2608,2610],{"id":2609},"related-resources","Related resources",[493,2612,2613,2619,2628,2633,2642],{},[496,2614,2615,2618],{},[512,2616,2617],{"href":385},"Deployment overview",": what every deployment needs, and a checklist.",[496,2620,2621,2623,2624,1356,2626,1359],{},[512,2622,1352],{"href":411},": CORS, ",[503,2625,1339],{},[503,2627,1345],{},[496,2629,2630,2632],{},[512,2631,281],{"href":282},": the clock route and how often it runs.",[496,2634,2635,2638,2639,515],{},[512,2636,201],{"href":2637},"\u002Fdocs\u002Fcore\u002Fusers-and-access\u002Fauthentication#the-cms-origin",": the CMS origin and ",[503,2640,2641],{},"allowedHosts",[496,2643,2644,2646],{},[512,2645,163],{"href":164},": a CMS on Vercel for a site on another origin.",[2648,2649,2650],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":566,"searchDepth":606,"depth":606,"links":2652},[2653,2654,2655,2656,2657,2658,2659,2660,2667],{"id":490,"depth":606,"text":491},{"id":532,"depth":606,"text":533},{"id":941,"depth":606,"text":942},{"id":1362,"depth":606,"text":1363},{"id":1816,"depth":606,"text":1817},{"id":2051,"depth":606,"text":1993},{"id":2278,"depth":606,"text":2279},{"id":2451,"depth":606,"text":2452,"children":2661},[2662,2663,2664,2665,2666],{"id":2474,"depth":629,"text":2475},{"id":2487,"depth":629,"text":2488},{"id":2499,"depth":629,"text":2500},{"id":2577,"depth":629,"text":2578},{"id":2595,"depth":629,"text":2596},{"id":2609,"depth":606,"text":2610},"Run Tenon in Vercel functions with Postgres or Turso and a bucket.","md",null,{},{"title":394,"description":2668},"XbNdlVOySy6nUQMu4LQ_MzwNVNDuHh3ZcE2HfcgW8qw",[2675,2677],{"title":390,"path":391,"stem":392,"description":2676,"children":-1},"Run Tenon on a server or in a container.",{"title":259,"path":398,"stem":399,"description":2678,"children":-1},"Run Tenon on Workers, with the CMS in a Durable Object.",1795884704208]