[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-vercel-vercel-services":3,"mdc-sx1aqd-key":37,"related-org-vercel-vercel-services":2570,"related-repo-vercel-vercel-services":2747},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":32,"sourceUrl":35,"mdContent":36},"vercel-services","configure Vercel services for multi-service apps","Configure and troubleshoot Vercel Services for multiple frontends and backends in one project. Use when composing a polyglot or multi-service application on one Vercel deployment; defining the `services` key, service-targeted rewrites, or service bindings in `vercel.json`; or running all services with `vercel dev`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"vercel","Vercel","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fvercel.png",[12,14,17,20,23],{"name":9,"slug":8,"type":13},"tag",{"name":15,"slug":16,"type":13},"Backend","backend",{"name":18,"slug":19,"type":13},"Architecture","architecture",{"name":21,"slug":22,"type":13},"Deployment","deployment",{"name":24,"slug":25,"type":13},"Frontend","frontend",226,"https:\u002F\u002Fgithub.com\u002Fvercel\u002Fvercel-plugin","2026-08-09T04:33:21.050979",null,36,[],{"repoUrl":27,"stars":26,"forks":30,"topics":33,"description":34},[],"Comprehensive Vercel ecosystem plugin — relational knowledge graph, skills for every major product, specialized agents, and Vercel conventions. Turns any AI agent into a Vercel expert.","https:\u002F\u002Fgithub.com\u002Fvercel\u002Fvercel-plugin\u002Ftree\u002FHEAD\u002Fskills\u002Fvercel-services","---\nname: vercel-services\ndescription: Configure and troubleshoot Vercel Services for multiple frontends and backends in one project. Use when composing a polyglot or multi-service application on one Vercel deployment; defining the `services` key, service-targeted rewrites, or service bindings in `vercel.json`; or running all services with `vercel dev`.\nsummary: Compose multiple frontends and backends in one Vercel project\nmetadata:\n  priority: 7\n  docs:\n    - \"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fservices\"\n    - \"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fservices\u002Frouting\"\n    - \"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fservices\u002Fbindings\"\n    - \"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fservices\u002Fconfig-reference\"\n  sitemap: \"https:\u002F\u002Fvercel.com\u002Fsitemap\u002Fdocs.xml\"\n  pathPatterns:\n    - 'vercel.json'\n    - 'apps\u002F*\u002Fvercel.json'\n  bashPatterns:\n    - '\\b(?:vercel|vc)\\s+dev\\b[^\\n]*(?:--local|-L)(?:\\s|$)'\n  importPatterns: []\n  promptSignals:\n    phrases:\n      - \"vercel services\"\n      - \"vercel service binding\"\n      - \"vercel service bindings\"\n      - \"multi-service vercel\"\n      - \"multiple services on vercel\"\n      - \"frontend and backend on vercel\"\n    allOf:\n      - [backend, vercel]\n      - [polyglot, vercel]\n      - [multiple, services, vercel]\n      - [services, vercel.json]\n      - [vercel, service, binding]\n    anyOf:\n      - \"backend\"\n      - \"monorepo\"\n      - \"polyglot\"\n      - \"service\"\n      - \"binding\"\n      - \"vercel\"\n    noneOf: []\n    minScore: 6\nretrieval:\n  aliases:\n    - Vercel Services\n    - multi-service project\n    - polyglot project\n    - service binding\n    - service rewrite\n  intents:\n    - deploy frontend and backend together in one project\n    - configure the services key in vercel.json\n    - configure service rewrites\n    - call the backend privately with a service binding\n    - keep a service private with no public route\n    - serve a service on a subdomain\n    - strip a route prefix before it reaches the backend service\n    - run all services locally\n  entities:\n    - services\n    - bindings\n    - destination.service\n    - root\n  examples:\n    - put a Next.js frontend and a FastAPI backend in one project\n    - deploy a Vite SPA with an Express API behind \u002Fapi\n    - add a Go service to an existing Next.js project\n    - my frontend cannot reach the backend service\n    - the backend returns 404 for every \u002Fapi route\n    - point api.example.com at the backend\n---\n\n# Vercel Services\n\nUse the `services` model whenever one application is made of multiple tightly coupled components, such as a frontend plus a backend, that should deploy to one Vercel project.\n\nServices build independently but ship together as one deployment. That buys skew protection between frontend and backend, preview environments where every service is in sync, atomic deployments and rollbacks of the whole app, and private service-to-service communication through bindings. Public traffic enters through one ordered route table.\n\n## Choose the right structure\n\n| Need | Use |\n| --- | --- |\n| Multiple tightly coupled components, such as a frontend and a backend, that should ship as one app | Vercel Services |\n| One framework can own the whole app, such as Next.js with Route Handlers | One normal Vercel project without Services |\n| Teams own their services and deploy and roll back on their own cadence | Separate Vercel projects in a monorepo |\n| Independently deployed frontends must render as one site | Vercel Microfrontends |\n\nThe benefits and the drawback are the same fact: every deployment ships all services together. Reach for separate projects only when you specifically need to deploy or roll back one service independently of the others.\n\nDo not introduce Services just to split one framework into arbitrary processes. Use it when an independently built component has a real runtime, framework, dependency, or ownership reason to exist.\n\n## Define services and public ingress\n\nEach service requires a `root` relative to `vercel.json`. Let Vercel detect the framework unless pinning it is necessary. Set `entrypoint` relative to the service root when the runtime needs one.\n\n```json filename=\"vercel.json\"\n{\n  \"services\": {\n    \"frontend\": {\n      \"root\": \"apps\u002Fweb\",\n      \"bindings\": [\n        {\n          \"type\": \"service\",\n          \"service\": \"backend\",\n          \"format\": \"url\",\n          \"env\": \"BACKEND_INTERNAL_URL\"\n        }\n      ]\n    },\n    \"backend\": {\n      \"root\": \"apps\u002Fbackend\",\n      \"entrypoint\": \"main:app\"\n    }\n  },\n  \"rewrites\": [\n    { \"source\": \"\u002Fapi\u002F(.*)\", \"destination\": { \"service\": \"backend\" } },\n    { \"source\": \"\u002F(.*)\", \"destination\": { \"service\": \"frontend\" } }\n  ]\n}\n```\n\nThe top-level rewrites expose the services. A service without a matching top-level rewrite is private: not reachable from the public internet, only through bindings.\n\nKeep configuration ownership clear:\n\n- Keep public `rewrites`, `redirects`, `headers`, and other URL behavior at the top level.\n- Put `functions`, `installCommand`, `buildCommand`, `devCommand`, `ignoreCommand`, `outputDirectory`, and framework settings on the service that owns them.\n- Put service-local `headers`, `redirects`, `rewrites`, or `routes` inside a service only when they should run after public ingress selects that service.\n- Set `runtime: \"container\"` when a service must build from a Dockerfile or OCI image. Use `entrypoint` for a nonstandard Dockerfile and `command` to override the image command.\n\n## Route requests correctly\n\nTop-level rewrites are evaluated in order. Put specific rules before the catch-all.\n\nRouting into a service is final. If the selected service returns a 404 or 405, Vercel does not try the next top-level rewrite.\n\nSplit the URL namespace by what the frontend needs:\n\n- Frontends without their own server routes, such as Vite or Create React App builds, let the backend own all of `\u002Fapi`.\n- Frameworks with their own API routes, such as Next.js, share the namespace: send only a sub-namespace such as `\u002Fapi\u002Fv1\u002F(.*)` or specific prefixes such as `\u002Fapi\u002Fusers\u002F(.*)` to the backend, and let the framework keep the rest.\n\nThe service receives the original request path. With the example above, `GET \u002Fapi\u002Fusers` reaches `backend` as `\u002Fapi\u002Fusers`, not `\u002Fusers`. Either make the backend handle the prefix, such as FastAPI `root_path`, or strip it with a service-scoped rewrite:\n\n```json filename=\"vercel.json\"\n{\n  \"services\": {\n    \"backend\": {\n      \"root\": \"apps\u002Fbackend\",\n      \"entrypoint\": \"main:app\",\n      \"rewrites\": [\n        { \"source\": \"\u002Fapi\u002F:path(.*)?\", \"destination\": \"\u002F:path\" }\n      ]\n    }\n  }\n}\n```\n\nAn SPA service that serves a static `index.html`, such as a Vite build, needs a service-scoped catch-all so deep links resolve:\n\n```json filename=\"vercel.json\"\n{\n  \"services\": {\n    \"frontend\": {\n      \"root\": \"apps\u002Fweb\",\n      \"rewrites\": [\n        { \"source\": \"\u002F(.*)\", \"destination\": \"\u002Findex.html\" }\n      ]\n    }\n  }\n}\n```\n\nDo not set `path` on a service destination. The field is accepted by the schema but has no effect at request time. Reshape paths with a service-scoped rewrite or a `request.path` transform in the service's own `routes` instead.\n\n## Serve a service on a subdomain\n\nHost-matched top-level rewrites can put a service on its own subdomain, such as `api.example.com`, while the catch-all serves the frontend:\n\n```json filename=\"vercel.json\"\n{\n  \"rewrites\": [\n    {\n      \"source\": \"\u002F(.*)\",\n      \"has\": [{ \"type\": \"host\", \"value\": \"api.example.com\" }],\n      \"destination\": { \"service\": \"backend\" }\n    },\n    { \"source\": \"\u002Fapi\u002F(.*)\", \"destination\": { \"service\": \"backend\" } },\n    { \"source\": \"\u002F(.*)\", \"destination\": { \"service\": \"frontend\" } }\n  ]\n}\n```\n\nSubdomains resolve only where that domain is attached: production, or a custom environment with a custom domain. Preview deployments get a single generated URL, so keep the subpath rewrite alongside the host rule and point the frontend at the relative path, for example `NEXT_PUBLIC_API_URL=\u002Fapi`, so every preview calls its own deployment.\n\n## Call services privately with bindings\n\nDeclare a binding on the caller service, name the target service, and choose the environment variable that receives the generated URL. Do not hardcode deployment hostnames or manually set binding variables.\n\n```ts\nconst url = new URL('\u002Fapi\u002Fusers', process.env.BACKEND_INTERNAL_URL);\nconst response = await fetch(url);\n```\n\nBindings are deployment-aware and do not create public routes. They are available to functions at runtime, not during builds or in Routing Middleware. Internal calls skip the public Firewall, Deployment Protection, top-level middleware, and CDN pipeline.\n\nPublic exposure is decided only by top-level rewrites. A service with no top-level rewrite is private: it is unreachable from the public internet and only accessible through its bindings. A service with both bindings and a top-level rewrite is also reachable publicly, so do not assume binding-only access implies the routes are protected.\n\nA binding grants network reachability, not application authentication. Add service-level authorization when the target must verify the caller.\n\nNative Go and Rust runtime services cannot currently consume bindings. Build those callers as container services when they need bindings. Node.js and Python services can use bindings directly.\n\n## Develop and deploy\n\nRun every service and inject local binding variables:\n\n```bash\nvercel dev\n```\n\nUse local-only mode when cloud authentication is unnecessary:\n\n```bash\nvercel dev -L\n```\n\nDeploy the project normally with `vercel` or Git integration. All services participate in the same preview and production deployment.\n\n## Troubleshoot\n\n- **No public traffic reaches a service:** add a top-level rewrite targeting it.\n- **The wrong service receives a request:** reorder rewrites so the most specific rule comes first and the catch-all is last.\n- **A backend returns 404:** confirm its routes include the public prefix because Vercel preserves the original request path, or strip the prefix with a service-scoped rewrite.\n- **An SPA returns 404 on deep links:** add a service-scoped catch-all rewrite to `\u002Findex.html`.\n- **A subdomain works in production but not in previews:** preview URLs have a single host, so host rules never match there. Keep a subpath rewrite to the same service and use the relative URL in the frontend.\n- **A binding variable is missing:** declare the binding on the caller and access it from runtime function code, not build code or middleware.\n- **Build settings are ignored or rejected:** move top-level build and runtime fields into the owning service.\n- **Framework detection is wrong:** set that service's `framework` or `entrypoint` explicitly instead of changing the whole project.\n\n## Related skills\n\n- Deployment commands and CI: `⤳ skill: deployments-cicd`\n- Function runtime behavior and limits: `⤳ skill: vercel-functions`\n- Independent frontend deployments: `⤳ skill: microfrontends`\n",{"data":38,"body":104},{"name":4,"description":6,"summary":39,"metadata":40,"retrieval":77},"Compose multiple frontends and backends in one Vercel project",{"priority":41,"docs":42,"sitemap":47,"pathPatterns":48,"bashPatterns":51,"importPatterns":53,"promptSignals":54},7,[43,44,45,46],"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fservices","https:\u002F\u002Fvercel.com\u002Fdocs\u002Fservices\u002Frouting","https:\u002F\u002Fvercel.com\u002Fdocs\u002Fservices\u002Fbindings","https:\u002F\u002Fvercel.com\u002Fdocs\u002Fservices\u002Fconfig-reference","https:\u002F\u002Fvercel.com\u002Fsitemap\u002Fdocs.xml",[49,50],"vercel.json","apps\u002F*\u002Fvercel.json",[52],"\\b(?:vercel|vc)\\s+dev\\b[^\\n]*(?:--local|-L)(?:\\s|$)",[],{"phrases":55,"allOf":62,"anyOf":73,"noneOf":75,"minScore":76},[56,57,58,59,60,61],"vercel services","vercel service binding","vercel service bindings","multi-service vercel","multiple services on vercel","frontend and backend on vercel",[63,64,66,69,70],[16,8],[65,8],"polyglot",[67,68,8],"multiple","services",[68,49],[8,71,72],"service","binding",[16,74,65,71,72,8],"monorepo",[],6,{"aliases":78,"intents":84,"entities":93,"examples":97},[79,80,81,82,83],"Vercel Services","multi-service project","polyglot project","service binding","service rewrite",[85,86,87,88,89,90,91,92],"deploy frontend and backend together in one project","configure the services key in vercel.json","configure service rewrites","call the backend privately with a service binding","keep a service private with no public route","serve a service on a subdomain","strip a route prefix before it reaches the backend service","run all services locally",[68,94,95,96],"bindings","destination.service","root",[98,99,100,101,102,103],"put a Next.js frontend and a FastAPI backend in one project","deploy a Vite SPA with an Express API behind \u002Fapi","add a Go service to an existing Next.js project","my frontend cannot reach the backend service","the backend returns 404 for every \u002Fapi route","point api.example.com at the backend",{"type":96,"children":105},[106,113,127,132,139,218,223,228,234,261,946,951,956,1096,1102,1107,1112,1117,1154,1198,1454,1467,1685,1713,1719,1732,2170,2183,2189,2194,2318,2323,2328,2333,2338,2344,2349,2370,2375,2399,2411,2417,2522,2528,2564],{"type":107,"tag":108,"props":109,"children":110},"element","h1",{"id":4},[111],{"type":112,"value":79},"text",{"type":107,"tag":114,"props":115,"children":116},"p",{},[117,119,125],{"type":112,"value":118},"Use the ",{"type":107,"tag":120,"props":121,"children":123},"code",{"className":122},[],[124],{"type":112,"value":68},{"type":112,"value":126}," model whenever one application is made of multiple tightly coupled components, such as a frontend plus a backend, that should deploy to one Vercel project.",{"type":107,"tag":114,"props":128,"children":129},{},[130],{"type":112,"value":131},"Services build independently but ship together as one deployment. That buys skew protection between frontend and backend, preview environments where every service is in sync, atomic deployments and rollbacks of the whole app, and private service-to-service communication through bindings. Public traffic enters through one ordered route table.",{"type":107,"tag":133,"props":134,"children":136},"h2",{"id":135},"choose-the-right-structure",[137],{"type":112,"value":138},"Choose the right structure",{"type":107,"tag":140,"props":141,"children":142},"table",{},[143,162],{"type":107,"tag":144,"props":145,"children":146},"thead",{},[147],{"type":107,"tag":148,"props":149,"children":150},"tr",{},[151,157],{"type":107,"tag":152,"props":153,"children":154},"th",{},[155],{"type":112,"value":156},"Need",{"type":107,"tag":152,"props":158,"children":159},{},[160],{"type":112,"value":161},"Use",{"type":107,"tag":163,"props":164,"children":165},"tbody",{},[166,179,192,205],{"type":107,"tag":148,"props":167,"children":168},{},[169,175],{"type":107,"tag":170,"props":171,"children":172},"td",{},[173],{"type":112,"value":174},"Multiple tightly coupled components, such as a frontend and a backend, that should ship as one app",{"type":107,"tag":170,"props":176,"children":177},{},[178],{"type":112,"value":79},{"type":107,"tag":148,"props":180,"children":181},{},[182,187],{"type":107,"tag":170,"props":183,"children":184},{},[185],{"type":112,"value":186},"One framework can own the whole app, such as Next.js with Route Handlers",{"type":107,"tag":170,"props":188,"children":189},{},[190],{"type":112,"value":191},"One normal Vercel project without Services",{"type":107,"tag":148,"props":193,"children":194},{},[195,200],{"type":107,"tag":170,"props":196,"children":197},{},[198],{"type":112,"value":199},"Teams own their services and deploy and roll back on their own cadence",{"type":107,"tag":170,"props":201,"children":202},{},[203],{"type":112,"value":204},"Separate Vercel projects in a monorepo",{"type":107,"tag":148,"props":206,"children":207},{},[208,213],{"type":107,"tag":170,"props":209,"children":210},{},[211],{"type":112,"value":212},"Independently deployed frontends must render as one site",{"type":107,"tag":170,"props":214,"children":215},{},[216],{"type":112,"value":217},"Vercel Microfrontends",{"type":107,"tag":114,"props":219,"children":220},{},[221],{"type":112,"value":222},"The benefits and the drawback are the same fact: every deployment ships all services together. Reach for separate projects only when you specifically need to deploy or roll back one service independently of the others.",{"type":107,"tag":114,"props":224,"children":225},{},[226],{"type":112,"value":227},"Do not introduce Services just to split one framework into arbitrary processes. Use it when an independently built component has a real runtime, framework, dependency, or ownership reason to exist.",{"type":107,"tag":133,"props":229,"children":231},{"id":230},"define-services-and-public-ingress",[232],{"type":112,"value":233},"Define services and public ingress",{"type":107,"tag":114,"props":235,"children":236},{},[237,239,244,246,251,253,259],{"type":112,"value":238},"Each service requires a ",{"type":107,"tag":120,"props":240,"children":242},{"className":241},[],[243],{"type":112,"value":96},{"type":112,"value":245}," relative to ",{"type":107,"tag":120,"props":247,"children":249},{"className":248},[],[250],{"type":112,"value":49},{"type":112,"value":252},". Let Vercel detect the framework unless pinning it is necessary. Set ",{"type":107,"tag":120,"props":254,"children":256},{"className":255},[],[257],{"type":112,"value":258},"entrypoint",{"type":112,"value":260}," relative to the service root when the runtime needs one.",{"type":107,"tag":262,"props":263,"children":269},"pre",{"className":264,"code":265,"language":266,"meta":267,"style":268},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"services\": {\n    \"frontend\": {\n      \"root\": \"apps\u002Fweb\",\n      \"bindings\": [\n        {\n          \"type\": \"service\",\n          \"service\": \"backend\",\n          \"format\": \"url\",\n          \"env\": \"BACKEND_INTERNAL_URL\"\n        }\n      ]\n    },\n    \"backend\": {\n      \"root\": \"apps\u002Fbackend\",\n      \"entrypoint\": \"main:app\"\n    }\n  },\n  \"rewrites\": [\n    { \"source\": \"\u002Fapi\u002F(.*)\", \"destination\": { \"service\": \"backend\" } },\n    { \"source\": \"\u002F(.*)\", \"destination\": { \"service\": \"frontend\" } }\n  ]\n}\n","json","filename=\"vercel.json\"","",[270],{"type":107,"tag":120,"props":271,"children":272},{"__ignoreMap":268},[273,285,314,340,382,407,415,453,489,527,562,571,580,589,613,650,683,692,701,726,830,928,937],{"type":107,"tag":274,"props":275,"children":278},"span",{"class":276,"line":277},"line",1,[279],{"type":107,"tag":274,"props":280,"children":282},{"style":281},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[283],{"type":112,"value":284},"{\n",{"type":107,"tag":274,"props":286,"children":288},{"class":276,"line":287},2,[289,294,299,304,309],{"type":107,"tag":274,"props":290,"children":291},{"style":281},[292],{"type":112,"value":293},"  \"",{"type":107,"tag":274,"props":295,"children":297},{"style":296},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[298],{"type":112,"value":68},{"type":107,"tag":274,"props":300,"children":301},{"style":281},[302],{"type":112,"value":303},"\"",{"type":107,"tag":274,"props":305,"children":306},{"style":281},[307],{"type":112,"value":308},":",{"type":107,"tag":274,"props":310,"children":311},{"style":281},[312],{"type":112,"value":313}," {\n",{"type":107,"tag":274,"props":315,"children":317},{"class":276,"line":316},3,[318,323,328,332,336],{"type":107,"tag":274,"props":319,"children":320},{"style":281},[321],{"type":112,"value":322},"    \"",{"type":107,"tag":274,"props":324,"children":326},{"style":325},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[327],{"type":112,"value":25},{"type":107,"tag":274,"props":329,"children":330},{"style":281},[331],{"type":112,"value":303},{"type":107,"tag":274,"props":333,"children":334},{"style":281},[335],{"type":112,"value":308},{"type":107,"tag":274,"props":337,"children":338},{"style":281},[339],{"type":112,"value":313},{"type":107,"tag":274,"props":341,"children":343},{"class":276,"line":342},4,[344,349,354,358,362,367,373,377],{"type":107,"tag":274,"props":345,"children":346},{"style":281},[347],{"type":112,"value":348},"      \"",{"type":107,"tag":274,"props":350,"children":352},{"style":351},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[353],{"type":112,"value":96},{"type":107,"tag":274,"props":355,"children":356},{"style":281},[357],{"type":112,"value":303},{"type":107,"tag":274,"props":359,"children":360},{"style":281},[361],{"type":112,"value":308},{"type":107,"tag":274,"props":363,"children":364},{"style":281},[365],{"type":112,"value":366}," \"",{"type":107,"tag":274,"props":368,"children":370},{"style":369},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[371],{"type":112,"value":372},"apps\u002Fweb",{"type":107,"tag":274,"props":374,"children":375},{"style":281},[376],{"type":112,"value":303},{"type":107,"tag":274,"props":378,"children":379},{"style":281},[380],{"type":112,"value":381},",\n",{"type":107,"tag":274,"props":383,"children":385},{"class":276,"line":384},5,[386,390,394,398,402],{"type":107,"tag":274,"props":387,"children":388},{"style":281},[389],{"type":112,"value":348},{"type":107,"tag":274,"props":391,"children":392},{"style":351},[393],{"type":112,"value":94},{"type":107,"tag":274,"props":395,"children":396},{"style":281},[397],{"type":112,"value":303},{"type":107,"tag":274,"props":399,"children":400},{"style":281},[401],{"type":112,"value":308},{"type":107,"tag":274,"props":403,"children":404},{"style":281},[405],{"type":112,"value":406}," [\n",{"type":107,"tag":274,"props":408,"children":409},{"class":276,"line":76},[410],{"type":107,"tag":274,"props":411,"children":412},{"style":281},[413],{"type":112,"value":414},"        {\n",{"type":107,"tag":274,"props":416,"children":417},{"class":276,"line":41},[418,423,429,433,437,441,445,449],{"type":107,"tag":274,"props":419,"children":420},{"style":281},[421],{"type":112,"value":422},"          \"",{"type":107,"tag":274,"props":424,"children":426},{"style":425},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[427],{"type":112,"value":428},"type",{"type":107,"tag":274,"props":430,"children":431},{"style":281},[432],{"type":112,"value":303},{"type":107,"tag":274,"props":434,"children":435},{"style":281},[436],{"type":112,"value":308},{"type":107,"tag":274,"props":438,"children":439},{"style":281},[440],{"type":112,"value":366},{"type":107,"tag":274,"props":442,"children":443},{"style":369},[444],{"type":112,"value":71},{"type":107,"tag":274,"props":446,"children":447},{"style":281},[448],{"type":112,"value":303},{"type":107,"tag":274,"props":450,"children":451},{"style":281},[452],{"type":112,"value":381},{"type":107,"tag":274,"props":454,"children":456},{"class":276,"line":455},8,[457,461,465,469,473,477,481,485],{"type":107,"tag":274,"props":458,"children":459},{"style":281},[460],{"type":112,"value":422},{"type":107,"tag":274,"props":462,"children":463},{"style":425},[464],{"type":112,"value":71},{"type":107,"tag":274,"props":466,"children":467},{"style":281},[468],{"type":112,"value":303},{"type":107,"tag":274,"props":470,"children":471},{"style":281},[472],{"type":112,"value":308},{"type":107,"tag":274,"props":474,"children":475},{"style":281},[476],{"type":112,"value":366},{"type":107,"tag":274,"props":478,"children":479},{"style":369},[480],{"type":112,"value":16},{"type":107,"tag":274,"props":482,"children":483},{"style":281},[484],{"type":112,"value":303},{"type":107,"tag":274,"props":486,"children":487},{"style":281},[488],{"type":112,"value":381},{"type":107,"tag":274,"props":490,"children":492},{"class":276,"line":491},9,[493,497,502,506,510,514,519,523],{"type":107,"tag":274,"props":494,"children":495},{"style":281},[496],{"type":112,"value":422},{"type":107,"tag":274,"props":498,"children":499},{"style":425},[500],{"type":112,"value":501},"format",{"type":107,"tag":274,"props":503,"children":504},{"style":281},[505],{"type":112,"value":303},{"type":107,"tag":274,"props":507,"children":508},{"style":281},[509],{"type":112,"value":308},{"type":107,"tag":274,"props":511,"children":512},{"style":281},[513],{"type":112,"value":366},{"type":107,"tag":274,"props":515,"children":516},{"style":369},[517],{"type":112,"value":518},"url",{"type":107,"tag":274,"props":520,"children":521},{"style":281},[522],{"type":112,"value":303},{"type":107,"tag":274,"props":524,"children":525},{"style":281},[526],{"type":112,"value":381},{"type":107,"tag":274,"props":528,"children":530},{"class":276,"line":529},10,[531,535,540,544,548,552,557],{"type":107,"tag":274,"props":532,"children":533},{"style":281},[534],{"type":112,"value":422},{"type":107,"tag":274,"props":536,"children":537},{"style":425},[538],{"type":112,"value":539},"env",{"type":107,"tag":274,"props":541,"children":542},{"style":281},[543],{"type":112,"value":303},{"type":107,"tag":274,"props":545,"children":546},{"style":281},[547],{"type":112,"value":308},{"type":107,"tag":274,"props":549,"children":550},{"style":281},[551],{"type":112,"value":366},{"type":107,"tag":274,"props":553,"children":554},{"style":369},[555],{"type":112,"value":556},"BACKEND_INTERNAL_URL",{"type":107,"tag":274,"props":558,"children":559},{"style":281},[560],{"type":112,"value":561},"\"\n",{"type":107,"tag":274,"props":563,"children":565},{"class":276,"line":564},11,[566],{"type":107,"tag":274,"props":567,"children":568},{"style":281},[569],{"type":112,"value":570},"        }\n",{"type":107,"tag":274,"props":572,"children":574},{"class":276,"line":573},12,[575],{"type":107,"tag":274,"props":576,"children":577},{"style":281},[578],{"type":112,"value":579},"      ]\n",{"type":107,"tag":274,"props":581,"children":583},{"class":276,"line":582},13,[584],{"type":107,"tag":274,"props":585,"children":586},{"style":281},[587],{"type":112,"value":588},"    },\n",{"type":107,"tag":274,"props":590,"children":592},{"class":276,"line":591},14,[593,597,601,605,609],{"type":107,"tag":274,"props":594,"children":595},{"style":281},[596],{"type":112,"value":322},{"type":107,"tag":274,"props":598,"children":599},{"style":325},[600],{"type":112,"value":16},{"type":107,"tag":274,"props":602,"children":603},{"style":281},[604],{"type":112,"value":303},{"type":107,"tag":274,"props":606,"children":607},{"style":281},[608],{"type":112,"value":308},{"type":107,"tag":274,"props":610,"children":611},{"style":281},[612],{"type":112,"value":313},{"type":107,"tag":274,"props":614,"children":616},{"class":276,"line":615},15,[617,621,625,629,633,637,642,646],{"type":107,"tag":274,"props":618,"children":619},{"style":281},[620],{"type":112,"value":348},{"type":107,"tag":274,"props":622,"children":623},{"style":351},[624],{"type":112,"value":96},{"type":107,"tag":274,"props":626,"children":627},{"style":281},[628],{"type":112,"value":303},{"type":107,"tag":274,"props":630,"children":631},{"style":281},[632],{"type":112,"value":308},{"type":107,"tag":274,"props":634,"children":635},{"style":281},[636],{"type":112,"value":366},{"type":107,"tag":274,"props":638,"children":639},{"style":369},[640],{"type":112,"value":641},"apps\u002Fbackend",{"type":107,"tag":274,"props":643,"children":644},{"style":281},[645],{"type":112,"value":303},{"type":107,"tag":274,"props":647,"children":648},{"style":281},[649],{"type":112,"value":381},{"type":107,"tag":274,"props":651,"children":653},{"class":276,"line":652},16,[654,658,662,666,670,674,679],{"type":107,"tag":274,"props":655,"children":656},{"style":281},[657],{"type":112,"value":348},{"type":107,"tag":274,"props":659,"children":660},{"style":351},[661],{"type":112,"value":258},{"type":107,"tag":274,"props":663,"children":664},{"style":281},[665],{"type":112,"value":303},{"type":107,"tag":274,"props":667,"children":668},{"style":281},[669],{"type":112,"value":308},{"type":107,"tag":274,"props":671,"children":672},{"style":281},[673],{"type":112,"value":366},{"type":107,"tag":274,"props":675,"children":676},{"style":369},[677],{"type":112,"value":678},"main:app",{"type":107,"tag":274,"props":680,"children":681},{"style":281},[682],{"type":112,"value":561},{"type":107,"tag":274,"props":684,"children":686},{"class":276,"line":685},17,[687],{"type":107,"tag":274,"props":688,"children":689},{"style":281},[690],{"type":112,"value":691},"    }\n",{"type":107,"tag":274,"props":693,"children":695},{"class":276,"line":694},18,[696],{"type":107,"tag":274,"props":697,"children":698},{"style":281},[699],{"type":112,"value":700},"  },\n",{"type":107,"tag":274,"props":702,"children":704},{"class":276,"line":703},19,[705,709,714,718,722],{"type":107,"tag":274,"props":706,"children":707},{"style":281},[708],{"type":112,"value":293},{"type":107,"tag":274,"props":710,"children":711},{"style":296},[712],{"type":112,"value":713},"rewrites",{"type":107,"tag":274,"props":715,"children":716},{"style":281},[717],{"type":112,"value":303},{"type":107,"tag":274,"props":719,"children":720},{"style":281},[721],{"type":112,"value":308},{"type":107,"tag":274,"props":723,"children":724},{"style":281},[725],{"type":112,"value":406},{"type":107,"tag":274,"props":727,"children":729},{"class":276,"line":728},20,[730,735,739,744,748,752,756,761,765,770,774,779,783,787,792,796,800,804,808,812,816,820,825],{"type":107,"tag":274,"props":731,"children":732},{"style":281},[733],{"type":112,"value":734},"    {",{"type":107,"tag":274,"props":736,"children":737},{"style":281},[738],{"type":112,"value":366},{"type":107,"tag":274,"props":740,"children":741},{"style":325},[742],{"type":112,"value":743},"source",{"type":107,"tag":274,"props":745,"children":746},{"style":281},[747],{"type":112,"value":303},{"type":107,"tag":274,"props":749,"children":750},{"style":281},[751],{"type":112,"value":308},{"type":107,"tag":274,"props":753,"children":754},{"style":281},[755],{"type":112,"value":366},{"type":107,"tag":274,"props":757,"children":758},{"style":369},[759],{"type":112,"value":760},"\u002Fapi\u002F(.*)",{"type":107,"tag":274,"props":762,"children":763},{"style":281},[764],{"type":112,"value":303},{"type":107,"tag":274,"props":766,"children":767},{"style":281},[768],{"type":112,"value":769},",",{"type":107,"tag":274,"props":771,"children":772},{"style":281},[773],{"type":112,"value":366},{"type":107,"tag":274,"props":775,"children":776},{"style":325},[777],{"type":112,"value":778},"destination",{"type":107,"tag":274,"props":780,"children":781},{"style":281},[782],{"type":112,"value":303},{"type":107,"tag":274,"props":784,"children":785},{"style":281},[786],{"type":112,"value":308},{"type":107,"tag":274,"props":788,"children":789},{"style":281},[790],{"type":112,"value":791}," {",{"type":107,"tag":274,"props":793,"children":794},{"style":281},[795],{"type":112,"value":366},{"type":107,"tag":274,"props":797,"children":798},{"style":351},[799],{"type":112,"value":71},{"type":107,"tag":274,"props":801,"children":802},{"style":281},[803],{"type":112,"value":303},{"type":107,"tag":274,"props":805,"children":806},{"style":281},[807],{"type":112,"value":308},{"type":107,"tag":274,"props":809,"children":810},{"style":281},[811],{"type":112,"value":366},{"type":107,"tag":274,"props":813,"children":814},{"style":369},[815],{"type":112,"value":16},{"type":107,"tag":274,"props":817,"children":818},{"style":281},[819],{"type":112,"value":303},{"type":107,"tag":274,"props":821,"children":822},{"style":281},[823],{"type":112,"value":824}," }",{"type":107,"tag":274,"props":826,"children":827},{"style":281},[828],{"type":112,"value":829}," },\n",{"type":107,"tag":274,"props":831,"children":833},{"class":276,"line":832},21,[834,838,842,846,850,854,858,863,867,871,875,879,883,887,891,895,899,903,907,911,915,919,923],{"type":107,"tag":274,"props":835,"children":836},{"style":281},[837],{"type":112,"value":734},{"type":107,"tag":274,"props":839,"children":840},{"style":281},[841],{"type":112,"value":366},{"type":107,"tag":274,"props":843,"children":844},{"style":325},[845],{"type":112,"value":743},{"type":107,"tag":274,"props":847,"children":848},{"style":281},[849],{"type":112,"value":303},{"type":107,"tag":274,"props":851,"children":852},{"style":281},[853],{"type":112,"value":308},{"type":107,"tag":274,"props":855,"children":856},{"style":281},[857],{"type":112,"value":366},{"type":107,"tag":274,"props":859,"children":860},{"style":369},[861],{"type":112,"value":862},"\u002F(.*)",{"type":107,"tag":274,"props":864,"children":865},{"style":281},[866],{"type":112,"value":303},{"type":107,"tag":274,"props":868,"children":869},{"style":281},[870],{"type":112,"value":769},{"type":107,"tag":274,"props":872,"children":873},{"style":281},[874],{"type":112,"value":366},{"type":107,"tag":274,"props":876,"children":877},{"style":325},[878],{"type":112,"value":778},{"type":107,"tag":274,"props":880,"children":881},{"style":281},[882],{"type":112,"value":303},{"type":107,"tag":274,"props":884,"children":885},{"style":281},[886],{"type":112,"value":308},{"type":107,"tag":274,"props":888,"children":889},{"style":281},[890],{"type":112,"value":791},{"type":107,"tag":274,"props":892,"children":893},{"style":281},[894],{"type":112,"value":366},{"type":107,"tag":274,"props":896,"children":897},{"style":351},[898],{"type":112,"value":71},{"type":107,"tag":274,"props":900,"children":901},{"style":281},[902],{"type":112,"value":303},{"type":107,"tag":274,"props":904,"children":905},{"style":281},[906],{"type":112,"value":308},{"type":107,"tag":274,"props":908,"children":909},{"style":281},[910],{"type":112,"value":366},{"type":107,"tag":274,"props":912,"children":913},{"style":369},[914],{"type":112,"value":25},{"type":107,"tag":274,"props":916,"children":917},{"style":281},[918],{"type":112,"value":303},{"type":107,"tag":274,"props":920,"children":921},{"style":281},[922],{"type":112,"value":824},{"type":107,"tag":274,"props":924,"children":925},{"style":281},[926],{"type":112,"value":927}," }\n",{"type":107,"tag":274,"props":929,"children":931},{"class":276,"line":930},22,[932],{"type":107,"tag":274,"props":933,"children":934},{"style":281},[935],{"type":112,"value":936},"  ]\n",{"type":107,"tag":274,"props":938,"children":940},{"class":276,"line":939},23,[941],{"type":107,"tag":274,"props":942,"children":943},{"style":281},[944],{"type":112,"value":945},"}\n",{"type":107,"tag":114,"props":947,"children":948},{},[949],{"type":112,"value":950},"The top-level rewrites expose the services. A service without a matching top-level rewrite is private: not reachable from the public internet, only through bindings.",{"type":107,"tag":114,"props":952,"children":953},{},[954],{"type":112,"value":955},"Keep configuration ownership clear:",{"type":107,"tag":957,"props":958,"children":959},"ul",{},[960,988,1036,1068],{"type":107,"tag":961,"props":962,"children":963},"li",{},[964,966,971,973,979,980,986],{"type":112,"value":965},"Keep public ",{"type":107,"tag":120,"props":967,"children":969},{"className":968},[],[970],{"type":112,"value":713},{"type":112,"value":972},", ",{"type":107,"tag":120,"props":974,"children":976},{"className":975},[],[977],{"type":112,"value":978},"redirects",{"type":112,"value":972},{"type":107,"tag":120,"props":981,"children":983},{"className":982},[],[984],{"type":112,"value":985},"headers",{"type":112,"value":987},", and other URL behavior at the top level.",{"type":107,"tag":961,"props":989,"children":990},{},[991,993,999,1000,1006,1007,1013,1014,1020,1021,1027,1028,1034],{"type":112,"value":992},"Put ",{"type":107,"tag":120,"props":994,"children":996},{"className":995},[],[997],{"type":112,"value":998},"functions",{"type":112,"value":972},{"type":107,"tag":120,"props":1001,"children":1003},{"className":1002},[],[1004],{"type":112,"value":1005},"installCommand",{"type":112,"value":972},{"type":107,"tag":120,"props":1008,"children":1010},{"className":1009},[],[1011],{"type":112,"value":1012},"buildCommand",{"type":112,"value":972},{"type":107,"tag":120,"props":1015,"children":1017},{"className":1016},[],[1018],{"type":112,"value":1019},"devCommand",{"type":112,"value":972},{"type":107,"tag":120,"props":1022,"children":1024},{"className":1023},[],[1025],{"type":112,"value":1026},"ignoreCommand",{"type":112,"value":972},{"type":107,"tag":120,"props":1029,"children":1031},{"className":1030},[],[1032],{"type":112,"value":1033},"outputDirectory",{"type":112,"value":1035},", and framework settings on the service that owns them.",{"type":107,"tag":961,"props":1037,"children":1038},{},[1039,1041,1046,1047,1052,1053,1058,1060,1066],{"type":112,"value":1040},"Put service-local ",{"type":107,"tag":120,"props":1042,"children":1044},{"className":1043},[],[1045],{"type":112,"value":985},{"type":112,"value":972},{"type":107,"tag":120,"props":1048,"children":1050},{"className":1049},[],[1051],{"type":112,"value":978},{"type":112,"value":972},{"type":107,"tag":120,"props":1054,"children":1056},{"className":1055},[],[1057],{"type":112,"value":713},{"type":112,"value":1059},", or ",{"type":107,"tag":120,"props":1061,"children":1063},{"className":1062},[],[1064],{"type":112,"value":1065},"routes",{"type":112,"value":1067}," inside a service only when they should run after public ingress selects that service.",{"type":107,"tag":961,"props":1069,"children":1070},{},[1071,1073,1079,1081,1086,1088,1094],{"type":112,"value":1072},"Set ",{"type":107,"tag":120,"props":1074,"children":1076},{"className":1075},[],[1077],{"type":112,"value":1078},"runtime: \"container\"",{"type":112,"value":1080}," when a service must build from a Dockerfile or OCI image. Use ",{"type":107,"tag":120,"props":1082,"children":1084},{"className":1083},[],[1085],{"type":112,"value":258},{"type":112,"value":1087}," for a nonstandard Dockerfile and ",{"type":107,"tag":120,"props":1089,"children":1091},{"className":1090},[],[1092],{"type":112,"value":1093},"command",{"type":112,"value":1095}," to override the image command.",{"type":107,"tag":133,"props":1097,"children":1099},{"id":1098},"route-requests-correctly",[1100],{"type":112,"value":1101},"Route requests correctly",{"type":107,"tag":114,"props":1103,"children":1104},{},[1105],{"type":112,"value":1106},"Top-level rewrites are evaluated in order. Put specific rules before the catch-all.",{"type":107,"tag":114,"props":1108,"children":1109},{},[1110],{"type":112,"value":1111},"Routing into a service is final. If the selected service returns a 404 or 405, Vercel does not try the next top-level rewrite.",{"type":107,"tag":114,"props":1113,"children":1114},{},[1115],{"type":112,"value":1116},"Split the URL namespace by what the frontend needs:",{"type":107,"tag":957,"props":1118,"children":1119},{},[1120,1133],{"type":107,"tag":961,"props":1121,"children":1122},{},[1123,1125,1131],{"type":112,"value":1124},"Frontends without their own server routes, such as Vite or Create React App builds, let the backend own all of ",{"type":107,"tag":120,"props":1126,"children":1128},{"className":1127},[],[1129],{"type":112,"value":1130},"\u002Fapi",{"type":112,"value":1132},".",{"type":107,"tag":961,"props":1134,"children":1135},{},[1136,1138,1144,1146,1152],{"type":112,"value":1137},"Frameworks with their own API routes, such as Next.js, share the namespace: send only a sub-namespace such as ",{"type":107,"tag":120,"props":1139,"children":1141},{"className":1140},[],[1142],{"type":112,"value":1143},"\u002Fapi\u002Fv1\u002F(.*)",{"type":112,"value":1145}," or specific prefixes such as ",{"type":107,"tag":120,"props":1147,"children":1149},{"className":1148},[],[1150],{"type":112,"value":1151},"\u002Fapi\u002Fusers\u002F(.*)",{"type":112,"value":1153}," to the backend, and let the framework keep the rest.",{"type":107,"tag":114,"props":1155,"children":1156},{},[1157,1159,1165,1167,1172,1174,1180,1182,1188,1190,1196],{"type":112,"value":1158},"The service receives the original request path. With the example above, ",{"type":107,"tag":120,"props":1160,"children":1162},{"className":1161},[],[1163],{"type":112,"value":1164},"GET \u002Fapi\u002Fusers",{"type":112,"value":1166}," reaches ",{"type":107,"tag":120,"props":1168,"children":1170},{"className":1169},[],[1171],{"type":112,"value":16},{"type":112,"value":1173}," as ",{"type":107,"tag":120,"props":1175,"children":1177},{"className":1176},[],[1178],{"type":112,"value":1179},"\u002Fapi\u002Fusers",{"type":112,"value":1181},", not ",{"type":107,"tag":120,"props":1183,"children":1185},{"className":1184},[],[1186],{"type":112,"value":1187},"\u002Fusers",{"type":112,"value":1189},". Either make the backend handle the prefix, such as FastAPI ",{"type":107,"tag":120,"props":1191,"children":1193},{"className":1192},[],[1194],{"type":112,"value":1195},"root_path",{"type":112,"value":1197},", or strip it with a service-scoped rewrite:",{"type":107,"tag":262,"props":1199,"children":1201},{"className":264,"code":1200,"language":266,"meta":267,"style":268},"{\n  \"services\": {\n    \"backend\": {\n      \"root\": \"apps\u002Fbackend\",\n      \"entrypoint\": \"main:app\",\n      \"rewrites\": [\n        { \"source\": \"\u002Fapi\u002F:path(.*)?\", \"destination\": \"\u002F:path\" }\n      ]\n    }\n  }\n}\n",[1202],{"type":107,"tag":120,"props":1203,"children":1204},{"__ignoreMap":268},[1205,1212,1235,1258,1293,1328,1351,1425,1432,1439,1447],{"type":107,"tag":274,"props":1206,"children":1207},{"class":276,"line":277},[1208],{"type":107,"tag":274,"props":1209,"children":1210},{"style":281},[1211],{"type":112,"value":284},{"type":107,"tag":274,"props":1213,"children":1214},{"class":276,"line":287},[1215,1219,1223,1227,1231],{"type":107,"tag":274,"props":1216,"children":1217},{"style":281},[1218],{"type":112,"value":293},{"type":107,"tag":274,"props":1220,"children":1221},{"style":296},[1222],{"type":112,"value":68},{"type":107,"tag":274,"props":1224,"children":1225},{"style":281},[1226],{"type":112,"value":303},{"type":107,"tag":274,"props":1228,"children":1229},{"style":281},[1230],{"type":112,"value":308},{"type":107,"tag":274,"props":1232,"children":1233},{"style":281},[1234],{"type":112,"value":313},{"type":107,"tag":274,"props":1236,"children":1237},{"class":276,"line":316},[1238,1242,1246,1250,1254],{"type":107,"tag":274,"props":1239,"children":1240},{"style":281},[1241],{"type":112,"value":322},{"type":107,"tag":274,"props":1243,"children":1244},{"style":325},[1245],{"type":112,"value":16},{"type":107,"tag":274,"props":1247,"children":1248},{"style":281},[1249],{"type":112,"value":303},{"type":107,"tag":274,"props":1251,"children":1252},{"style":281},[1253],{"type":112,"value":308},{"type":107,"tag":274,"props":1255,"children":1256},{"style":281},[1257],{"type":112,"value":313},{"type":107,"tag":274,"props":1259,"children":1260},{"class":276,"line":342},[1261,1265,1269,1273,1277,1281,1285,1289],{"type":107,"tag":274,"props":1262,"children":1263},{"style":281},[1264],{"type":112,"value":348},{"type":107,"tag":274,"props":1266,"children":1267},{"style":351},[1268],{"type":112,"value":96},{"type":107,"tag":274,"props":1270,"children":1271},{"style":281},[1272],{"type":112,"value":303},{"type":107,"tag":274,"props":1274,"children":1275},{"style":281},[1276],{"type":112,"value":308},{"type":107,"tag":274,"props":1278,"children":1279},{"style":281},[1280],{"type":112,"value":366},{"type":107,"tag":274,"props":1282,"children":1283},{"style":369},[1284],{"type":112,"value":641},{"type":107,"tag":274,"props":1286,"children":1287},{"style":281},[1288],{"type":112,"value":303},{"type":107,"tag":274,"props":1290,"children":1291},{"style":281},[1292],{"type":112,"value":381},{"type":107,"tag":274,"props":1294,"children":1295},{"class":276,"line":384},[1296,1300,1304,1308,1312,1316,1320,1324],{"type":107,"tag":274,"props":1297,"children":1298},{"style":281},[1299],{"type":112,"value":348},{"type":107,"tag":274,"props":1301,"children":1302},{"style":351},[1303],{"type":112,"value":258},{"type":107,"tag":274,"props":1305,"children":1306},{"style":281},[1307],{"type":112,"value":303},{"type":107,"tag":274,"props":1309,"children":1310},{"style":281},[1311],{"type":112,"value":308},{"type":107,"tag":274,"props":1313,"children":1314},{"style":281},[1315],{"type":112,"value":366},{"type":107,"tag":274,"props":1317,"children":1318},{"style":369},[1319],{"type":112,"value":678},{"type":107,"tag":274,"props":1321,"children":1322},{"style":281},[1323],{"type":112,"value":303},{"type":107,"tag":274,"props":1325,"children":1326},{"style":281},[1327],{"type":112,"value":381},{"type":107,"tag":274,"props":1329,"children":1330},{"class":276,"line":76},[1331,1335,1339,1343,1347],{"type":107,"tag":274,"props":1332,"children":1333},{"style":281},[1334],{"type":112,"value":348},{"type":107,"tag":274,"props":1336,"children":1337},{"style":351},[1338],{"type":112,"value":713},{"type":107,"tag":274,"props":1340,"children":1341},{"style":281},[1342],{"type":112,"value":303},{"type":107,"tag":274,"props":1344,"children":1345},{"style":281},[1346],{"type":112,"value":308},{"type":107,"tag":274,"props":1348,"children":1349},{"style":281},[1350],{"type":112,"value":406},{"type":107,"tag":274,"props":1352,"children":1353},{"class":276,"line":41},[1354,1359,1363,1367,1371,1375,1379,1384,1388,1392,1396,1400,1404,1408,1412,1417,1421],{"type":107,"tag":274,"props":1355,"children":1356},{"style":281},[1357],{"type":112,"value":1358},"        {",{"type":107,"tag":274,"props":1360,"children":1361},{"style":281},[1362],{"type":112,"value":366},{"type":107,"tag":274,"props":1364,"children":1365},{"style":425},[1366],{"type":112,"value":743},{"type":107,"tag":274,"props":1368,"children":1369},{"style":281},[1370],{"type":112,"value":303},{"type":107,"tag":274,"props":1372,"children":1373},{"style":281},[1374],{"type":112,"value":308},{"type":107,"tag":274,"props":1376,"children":1377},{"style":281},[1378],{"type":112,"value":366},{"type":107,"tag":274,"props":1380,"children":1381},{"style":369},[1382],{"type":112,"value":1383},"\u002Fapi\u002F:path(.*)?",{"type":107,"tag":274,"props":1385,"children":1386},{"style":281},[1387],{"type":112,"value":303},{"type":107,"tag":274,"props":1389,"children":1390},{"style":281},[1391],{"type":112,"value":769},{"type":107,"tag":274,"props":1393,"children":1394},{"style":281},[1395],{"type":112,"value":366},{"type":107,"tag":274,"props":1397,"children":1398},{"style":425},[1399],{"type":112,"value":778},{"type":107,"tag":274,"props":1401,"children":1402},{"style":281},[1403],{"type":112,"value":303},{"type":107,"tag":274,"props":1405,"children":1406},{"style":281},[1407],{"type":112,"value":308},{"type":107,"tag":274,"props":1409,"children":1410},{"style":281},[1411],{"type":112,"value":366},{"type":107,"tag":274,"props":1413,"children":1414},{"style":369},[1415],{"type":112,"value":1416},"\u002F:path",{"type":107,"tag":274,"props":1418,"children":1419},{"style":281},[1420],{"type":112,"value":303},{"type":107,"tag":274,"props":1422,"children":1423},{"style":281},[1424],{"type":112,"value":927},{"type":107,"tag":274,"props":1426,"children":1427},{"class":276,"line":455},[1428],{"type":107,"tag":274,"props":1429,"children":1430},{"style":281},[1431],{"type":112,"value":579},{"type":107,"tag":274,"props":1433,"children":1434},{"class":276,"line":491},[1435],{"type":107,"tag":274,"props":1436,"children":1437},{"style":281},[1438],{"type":112,"value":691},{"type":107,"tag":274,"props":1440,"children":1441},{"class":276,"line":529},[1442],{"type":107,"tag":274,"props":1443,"children":1444},{"style":281},[1445],{"type":112,"value":1446},"  }\n",{"type":107,"tag":274,"props":1448,"children":1449},{"class":276,"line":564},[1450],{"type":107,"tag":274,"props":1451,"children":1452},{"style":281},[1453],{"type":112,"value":945},{"type":107,"tag":114,"props":1455,"children":1456},{},[1457,1459,1465],{"type":112,"value":1458},"An SPA service that serves a static ",{"type":107,"tag":120,"props":1460,"children":1462},{"className":1461},[],[1463],{"type":112,"value":1464},"index.html",{"type":112,"value":1466},", such as a Vite build, needs a service-scoped catch-all so deep links resolve:",{"type":107,"tag":262,"props":1468,"children":1470},{"className":264,"code":1469,"language":266,"meta":267,"style":268},"{\n  \"services\": {\n    \"frontend\": {\n      \"root\": \"apps\u002Fweb\",\n      \"rewrites\": [\n        { \"source\": \"\u002F(.*)\", \"destination\": \"\u002Findex.html\" }\n      ]\n    }\n  }\n}\n",[1471],{"type":107,"tag":120,"props":1472,"children":1473},{"__ignoreMap":268},[1474,1481,1504,1527,1562,1585,1657,1664,1671,1678],{"type":107,"tag":274,"props":1475,"children":1476},{"class":276,"line":277},[1477],{"type":107,"tag":274,"props":1478,"children":1479},{"style":281},[1480],{"type":112,"value":284},{"type":107,"tag":274,"props":1482,"children":1483},{"class":276,"line":287},[1484,1488,1492,1496,1500],{"type":107,"tag":274,"props":1485,"children":1486},{"style":281},[1487],{"type":112,"value":293},{"type":107,"tag":274,"props":1489,"children":1490},{"style":296},[1491],{"type":112,"value":68},{"type":107,"tag":274,"props":1493,"children":1494},{"style":281},[1495],{"type":112,"value":303},{"type":107,"tag":274,"props":1497,"children":1498},{"style":281},[1499],{"type":112,"value":308},{"type":107,"tag":274,"props":1501,"children":1502},{"style":281},[1503],{"type":112,"value":313},{"type":107,"tag":274,"props":1505,"children":1506},{"class":276,"line":316},[1507,1511,1515,1519,1523],{"type":107,"tag":274,"props":1508,"children":1509},{"style":281},[1510],{"type":112,"value":322},{"type":107,"tag":274,"props":1512,"children":1513},{"style":325},[1514],{"type":112,"value":25},{"type":107,"tag":274,"props":1516,"children":1517},{"style":281},[1518],{"type":112,"value":303},{"type":107,"tag":274,"props":1520,"children":1521},{"style":281},[1522],{"type":112,"value":308},{"type":107,"tag":274,"props":1524,"children":1525},{"style":281},[1526],{"type":112,"value":313},{"type":107,"tag":274,"props":1528,"children":1529},{"class":276,"line":342},[1530,1534,1538,1542,1546,1550,1554,1558],{"type":107,"tag":274,"props":1531,"children":1532},{"style":281},[1533],{"type":112,"value":348},{"type":107,"tag":274,"props":1535,"children":1536},{"style":351},[1537],{"type":112,"value":96},{"type":107,"tag":274,"props":1539,"children":1540},{"style":281},[1541],{"type":112,"value":303},{"type":107,"tag":274,"props":1543,"children":1544},{"style":281},[1545],{"type":112,"value":308},{"type":107,"tag":274,"props":1547,"children":1548},{"style":281},[1549],{"type":112,"value":366},{"type":107,"tag":274,"props":1551,"children":1552},{"style":369},[1553],{"type":112,"value":372},{"type":107,"tag":274,"props":1555,"children":1556},{"style":281},[1557],{"type":112,"value":303},{"type":107,"tag":274,"props":1559,"children":1560},{"style":281},[1561],{"type":112,"value":381},{"type":107,"tag":274,"props":1563,"children":1564},{"class":276,"line":384},[1565,1569,1573,1577,1581],{"type":107,"tag":274,"props":1566,"children":1567},{"style":281},[1568],{"type":112,"value":348},{"type":107,"tag":274,"props":1570,"children":1571},{"style":351},[1572],{"type":112,"value":713},{"type":107,"tag":274,"props":1574,"children":1575},{"style":281},[1576],{"type":112,"value":303},{"type":107,"tag":274,"props":1578,"children":1579},{"style":281},[1580],{"type":112,"value":308},{"type":107,"tag":274,"props":1582,"children":1583},{"style":281},[1584],{"type":112,"value":406},{"type":107,"tag":274,"props":1586,"children":1587},{"class":276,"line":76},[1588,1592,1596,1600,1604,1608,1612,1616,1620,1624,1628,1632,1636,1640,1644,1649,1653],{"type":107,"tag":274,"props":1589,"children":1590},{"style":281},[1591],{"type":112,"value":1358},{"type":107,"tag":274,"props":1593,"children":1594},{"style":281},[1595],{"type":112,"value":366},{"type":107,"tag":274,"props":1597,"children":1598},{"style":425},[1599],{"type":112,"value":743},{"type":107,"tag":274,"props":1601,"children":1602},{"style":281},[1603],{"type":112,"value":303},{"type":107,"tag":274,"props":1605,"children":1606},{"style":281},[1607],{"type":112,"value":308},{"type":107,"tag":274,"props":1609,"children":1610},{"style":281},[1611],{"type":112,"value":366},{"type":107,"tag":274,"props":1613,"children":1614},{"style":369},[1615],{"type":112,"value":862},{"type":107,"tag":274,"props":1617,"children":1618},{"style":281},[1619],{"type":112,"value":303},{"type":107,"tag":274,"props":1621,"children":1622},{"style":281},[1623],{"type":112,"value":769},{"type":107,"tag":274,"props":1625,"children":1626},{"style":281},[1627],{"type":112,"value":366},{"type":107,"tag":274,"props":1629,"children":1630},{"style":425},[1631],{"type":112,"value":778},{"type":107,"tag":274,"props":1633,"children":1634},{"style":281},[1635],{"type":112,"value":303},{"type":107,"tag":274,"props":1637,"children":1638},{"style":281},[1639],{"type":112,"value":308},{"type":107,"tag":274,"props":1641,"children":1642},{"style":281},[1643],{"type":112,"value":366},{"type":107,"tag":274,"props":1645,"children":1646},{"style":369},[1647],{"type":112,"value":1648},"\u002Findex.html",{"type":107,"tag":274,"props":1650,"children":1651},{"style":281},[1652],{"type":112,"value":303},{"type":107,"tag":274,"props":1654,"children":1655},{"style":281},[1656],{"type":112,"value":927},{"type":107,"tag":274,"props":1658,"children":1659},{"class":276,"line":41},[1660],{"type":107,"tag":274,"props":1661,"children":1662},{"style":281},[1663],{"type":112,"value":579},{"type":107,"tag":274,"props":1665,"children":1666},{"class":276,"line":455},[1667],{"type":107,"tag":274,"props":1668,"children":1669},{"style":281},[1670],{"type":112,"value":691},{"type":107,"tag":274,"props":1672,"children":1673},{"class":276,"line":491},[1674],{"type":107,"tag":274,"props":1675,"children":1676},{"style":281},[1677],{"type":112,"value":1446},{"type":107,"tag":274,"props":1679,"children":1680},{"class":276,"line":529},[1681],{"type":107,"tag":274,"props":1682,"children":1683},{"style":281},[1684],{"type":112,"value":945},{"type":107,"tag":114,"props":1686,"children":1687},{},[1688,1690,1696,1698,1704,1706,1711],{"type":112,"value":1689},"Do not set ",{"type":107,"tag":120,"props":1691,"children":1693},{"className":1692},[],[1694],{"type":112,"value":1695},"path",{"type":112,"value":1697}," on a service destination. The field is accepted by the schema but has no effect at request time. Reshape paths with a service-scoped rewrite or a ",{"type":107,"tag":120,"props":1699,"children":1701},{"className":1700},[],[1702],{"type":112,"value":1703},"request.path",{"type":112,"value":1705}," transform in the service's own ",{"type":107,"tag":120,"props":1707,"children":1709},{"className":1708},[],[1710],{"type":112,"value":1065},{"type":112,"value":1712}," instead.",{"type":107,"tag":133,"props":1714,"children":1716},{"id":1715},"serve-a-service-on-a-subdomain",[1717],{"type":112,"value":1718},"Serve a service on a subdomain",{"type":107,"tag":114,"props":1720,"children":1721},{},[1722,1724,1730],{"type":112,"value":1723},"Host-matched top-level rewrites can put a service on its own subdomain, such as ",{"type":107,"tag":120,"props":1725,"children":1727},{"className":1726},[],[1728],{"type":112,"value":1729},"api.example.com",{"type":112,"value":1731},", while the catch-all serves the frontend:",{"type":107,"tag":262,"props":1733,"children":1735},{"className":264,"code":1734,"language":266,"meta":267,"style":268},"{\n  \"rewrites\": [\n    {\n      \"source\": \"\u002F(.*)\",\n      \"has\": [{ \"type\": \"host\", \"value\": \"api.example.com\" }],\n      \"destination\": { \"service\": \"backend\" }\n    },\n    { \"source\": \"\u002Fapi\u002F(.*)\", \"destination\": { \"service\": \"backend\" } },\n    { \"source\": \"\u002F(.*)\", \"destination\": { \"service\": \"frontend\" } }\n  ]\n}\n",[1736],{"type":107,"tag":120,"props":1737,"children":1738},{"__ignoreMap":268},[1739,1746,1769,1777,1812,1904,1959,1966,2061,2156,2163],{"type":107,"tag":274,"props":1740,"children":1741},{"class":276,"line":277},[1742],{"type":107,"tag":274,"props":1743,"children":1744},{"style":281},[1745],{"type":112,"value":284},{"type":107,"tag":274,"props":1747,"children":1748},{"class":276,"line":287},[1749,1753,1757,1761,1765],{"type":107,"tag":274,"props":1750,"children":1751},{"style":281},[1752],{"type":112,"value":293},{"type":107,"tag":274,"props":1754,"children":1755},{"style":296},[1756],{"type":112,"value":713},{"type":107,"tag":274,"props":1758,"children":1759},{"style":281},[1760],{"type":112,"value":303},{"type":107,"tag":274,"props":1762,"children":1763},{"style":281},[1764],{"type":112,"value":308},{"type":107,"tag":274,"props":1766,"children":1767},{"style":281},[1768],{"type":112,"value":406},{"type":107,"tag":274,"props":1770,"children":1771},{"class":276,"line":316},[1772],{"type":107,"tag":274,"props":1773,"children":1774},{"style":281},[1775],{"type":112,"value":1776},"    {\n",{"type":107,"tag":274,"props":1778,"children":1779},{"class":276,"line":342},[1780,1784,1788,1792,1796,1800,1804,1808],{"type":107,"tag":274,"props":1781,"children":1782},{"style":281},[1783],{"type":112,"value":348},{"type":107,"tag":274,"props":1785,"children":1786},{"style":325},[1787],{"type":112,"value":743},{"type":107,"tag":274,"props":1789,"children":1790},{"style":281},[1791],{"type":112,"value":303},{"type":107,"tag":274,"props":1793,"children":1794},{"style":281},[1795],{"type":112,"value":308},{"type":107,"tag":274,"props":1797,"children":1798},{"style":281},[1799],{"type":112,"value":366},{"type":107,"tag":274,"props":1801,"children":1802},{"style":369},[1803],{"type":112,"value":862},{"type":107,"tag":274,"props":1805,"children":1806},{"style":281},[1807],{"type":112,"value":303},{"type":107,"tag":274,"props":1809,"children":1810},{"style":281},[1811],{"type":112,"value":381},{"type":107,"tag":274,"props":1813,"children":1814},{"class":276,"line":384},[1815,1819,1824,1828,1832,1837,1841,1845,1849,1853,1857,1862,1866,1870,1874,1879,1883,1887,1891,1895,1899],{"type":107,"tag":274,"props":1816,"children":1817},{"style":281},[1818],{"type":112,"value":348},{"type":107,"tag":274,"props":1820,"children":1821},{"style":325},[1822],{"type":112,"value":1823},"has",{"type":107,"tag":274,"props":1825,"children":1826},{"style":281},[1827],{"type":112,"value":303},{"type":107,"tag":274,"props":1829,"children":1830},{"style":281},[1831],{"type":112,"value":308},{"type":107,"tag":274,"props":1833,"children":1834},{"style":281},[1835],{"type":112,"value":1836}," [{",{"type":107,"tag":274,"props":1838,"children":1839},{"style":281},[1840],{"type":112,"value":366},{"type":107,"tag":274,"props":1842,"children":1843},{"style":351},[1844],{"type":112,"value":428},{"type":107,"tag":274,"props":1846,"children":1847},{"style":281},[1848],{"type":112,"value":303},{"type":107,"tag":274,"props":1850,"children":1851},{"style":281},[1852],{"type":112,"value":308},{"type":107,"tag":274,"props":1854,"children":1855},{"style":281},[1856],{"type":112,"value":366},{"type":107,"tag":274,"props":1858,"children":1859},{"style":369},[1860],{"type":112,"value":1861},"host",{"type":107,"tag":274,"props":1863,"children":1864},{"style":281},[1865],{"type":112,"value":303},{"type":107,"tag":274,"props":1867,"children":1868},{"style":281},[1869],{"type":112,"value":769},{"type":107,"tag":274,"props":1871,"children":1872},{"style":281},[1873],{"type":112,"value":366},{"type":107,"tag":274,"props":1875,"children":1876},{"style":351},[1877],{"type":112,"value":1878},"value",{"type":107,"tag":274,"props":1880,"children":1881},{"style":281},[1882],{"type":112,"value":303},{"type":107,"tag":274,"props":1884,"children":1885},{"style":281},[1886],{"type":112,"value":308},{"type":107,"tag":274,"props":1888,"children":1889},{"style":281},[1890],{"type":112,"value":366},{"type":107,"tag":274,"props":1892,"children":1893},{"style":369},[1894],{"type":112,"value":1729},{"type":107,"tag":274,"props":1896,"children":1897},{"style":281},[1898],{"type":112,"value":303},{"type":107,"tag":274,"props":1900,"children":1901},{"style":281},[1902],{"type":112,"value":1903}," }],\n",{"type":107,"tag":274,"props":1905,"children":1906},{"class":276,"line":76},[1907,1911,1915,1919,1923,1927,1931,1935,1939,1943,1947,1951,1955],{"type":107,"tag":274,"props":1908,"children":1909},{"style":281},[1910],{"type":112,"value":348},{"type":107,"tag":274,"props":1912,"children":1913},{"style":325},[1914],{"type":112,"value":778},{"type":107,"tag":274,"props":1916,"children":1917},{"style":281},[1918],{"type":112,"value":303},{"type":107,"tag":274,"props":1920,"children":1921},{"style":281},[1922],{"type":112,"value":308},{"type":107,"tag":274,"props":1924,"children":1925},{"style":281},[1926],{"type":112,"value":791},{"type":107,"tag":274,"props":1928,"children":1929},{"style":281},[1930],{"type":112,"value":366},{"type":107,"tag":274,"props":1932,"children":1933},{"style":351},[1934],{"type":112,"value":71},{"type":107,"tag":274,"props":1936,"children":1937},{"style":281},[1938],{"type":112,"value":303},{"type":107,"tag":274,"props":1940,"children":1941},{"style":281},[1942],{"type":112,"value":308},{"type":107,"tag":274,"props":1944,"children":1945},{"style":281},[1946],{"type":112,"value":366},{"type":107,"tag":274,"props":1948,"children":1949},{"style":369},[1950],{"type":112,"value":16},{"type":107,"tag":274,"props":1952,"children":1953},{"style":281},[1954],{"type":112,"value":303},{"type":107,"tag":274,"props":1956,"children":1957},{"style":281},[1958],{"type":112,"value":927},{"type":107,"tag":274,"props":1960,"children":1961},{"class":276,"line":41},[1962],{"type":107,"tag":274,"props":1963,"children":1964},{"style":281},[1965],{"type":112,"value":588},{"type":107,"tag":274,"props":1967,"children":1968},{"class":276,"line":455},[1969,1973,1977,1981,1985,1989,1993,1997,2001,2005,2009,2013,2017,2021,2025,2029,2033,2037,2041,2045,2049,2053,2057],{"type":107,"tag":274,"props":1970,"children":1971},{"style":281},[1972],{"type":112,"value":734},{"type":107,"tag":274,"props":1974,"children":1975},{"style":281},[1976],{"type":112,"value":366},{"type":107,"tag":274,"props":1978,"children":1979},{"style":325},[1980],{"type":112,"value":743},{"type":107,"tag":274,"props":1982,"children":1983},{"style":281},[1984],{"type":112,"value":303},{"type":107,"tag":274,"props":1986,"children":1987},{"style":281},[1988],{"type":112,"value":308},{"type":107,"tag":274,"props":1990,"children":1991},{"style":281},[1992],{"type":112,"value":366},{"type":107,"tag":274,"props":1994,"children":1995},{"style":369},[1996],{"type":112,"value":760},{"type":107,"tag":274,"props":1998,"children":1999},{"style":281},[2000],{"type":112,"value":303},{"type":107,"tag":274,"props":2002,"children":2003},{"style":281},[2004],{"type":112,"value":769},{"type":107,"tag":274,"props":2006,"children":2007},{"style":281},[2008],{"type":112,"value":366},{"type":107,"tag":274,"props":2010,"children":2011},{"style":325},[2012],{"type":112,"value":778},{"type":107,"tag":274,"props":2014,"children":2015},{"style":281},[2016],{"type":112,"value":303},{"type":107,"tag":274,"props":2018,"children":2019},{"style":281},[2020],{"type":112,"value":308},{"type":107,"tag":274,"props":2022,"children":2023},{"style":281},[2024],{"type":112,"value":791},{"type":107,"tag":274,"props":2026,"children":2027},{"style":281},[2028],{"type":112,"value":366},{"type":107,"tag":274,"props":2030,"children":2031},{"style":351},[2032],{"type":112,"value":71},{"type":107,"tag":274,"props":2034,"children":2035},{"style":281},[2036],{"type":112,"value":303},{"type":107,"tag":274,"props":2038,"children":2039},{"style":281},[2040],{"type":112,"value":308},{"type":107,"tag":274,"props":2042,"children":2043},{"style":281},[2044],{"type":112,"value":366},{"type":107,"tag":274,"props":2046,"children":2047},{"style":369},[2048],{"type":112,"value":16},{"type":107,"tag":274,"props":2050,"children":2051},{"style":281},[2052],{"type":112,"value":303},{"type":107,"tag":274,"props":2054,"children":2055},{"style":281},[2056],{"type":112,"value":824},{"type":107,"tag":274,"props":2058,"children":2059},{"style":281},[2060],{"type":112,"value":829},{"type":107,"tag":274,"props":2062,"children":2063},{"class":276,"line":491},[2064,2068,2072,2076,2080,2084,2088,2092,2096,2100,2104,2108,2112,2116,2120,2124,2128,2132,2136,2140,2144,2148,2152],{"type":107,"tag":274,"props":2065,"children":2066},{"style":281},[2067],{"type":112,"value":734},{"type":107,"tag":274,"props":2069,"children":2070},{"style":281},[2071],{"type":112,"value":366},{"type":107,"tag":274,"props":2073,"children":2074},{"style":325},[2075],{"type":112,"value":743},{"type":107,"tag":274,"props":2077,"children":2078},{"style":281},[2079],{"type":112,"value":303},{"type":107,"tag":274,"props":2081,"children":2082},{"style":281},[2083],{"type":112,"value":308},{"type":107,"tag":274,"props":2085,"children":2086},{"style":281},[2087],{"type":112,"value":366},{"type":107,"tag":274,"props":2089,"children":2090},{"style":369},[2091],{"type":112,"value":862},{"type":107,"tag":274,"props":2093,"children":2094},{"style":281},[2095],{"type":112,"value":303},{"type":107,"tag":274,"props":2097,"children":2098},{"style":281},[2099],{"type":112,"value":769},{"type":107,"tag":274,"props":2101,"children":2102},{"style":281},[2103],{"type":112,"value":366},{"type":107,"tag":274,"props":2105,"children":2106},{"style":325},[2107],{"type":112,"value":778},{"type":107,"tag":274,"props":2109,"children":2110},{"style":281},[2111],{"type":112,"value":303},{"type":107,"tag":274,"props":2113,"children":2114},{"style":281},[2115],{"type":112,"value":308},{"type":107,"tag":274,"props":2117,"children":2118},{"style":281},[2119],{"type":112,"value":791},{"type":107,"tag":274,"props":2121,"children":2122},{"style":281},[2123],{"type":112,"value":366},{"type":107,"tag":274,"props":2125,"children":2126},{"style":351},[2127],{"type":112,"value":71},{"type":107,"tag":274,"props":2129,"children":2130},{"style":281},[2131],{"type":112,"value":303},{"type":107,"tag":274,"props":2133,"children":2134},{"style":281},[2135],{"type":112,"value":308},{"type":107,"tag":274,"props":2137,"children":2138},{"style":281},[2139],{"type":112,"value":366},{"type":107,"tag":274,"props":2141,"children":2142},{"style":369},[2143],{"type":112,"value":25},{"type":107,"tag":274,"props":2145,"children":2146},{"style":281},[2147],{"type":112,"value":303},{"type":107,"tag":274,"props":2149,"children":2150},{"style":281},[2151],{"type":112,"value":824},{"type":107,"tag":274,"props":2153,"children":2154},{"style":281},[2155],{"type":112,"value":927},{"type":107,"tag":274,"props":2157,"children":2158},{"class":276,"line":529},[2159],{"type":107,"tag":274,"props":2160,"children":2161},{"style":281},[2162],{"type":112,"value":936},{"type":107,"tag":274,"props":2164,"children":2165},{"class":276,"line":564},[2166],{"type":107,"tag":274,"props":2167,"children":2168},{"style":281},[2169],{"type":112,"value":945},{"type":107,"tag":114,"props":2171,"children":2172},{},[2173,2175,2181],{"type":112,"value":2174},"Subdomains resolve only where that domain is attached: production, or a custom environment with a custom domain. Preview deployments get a single generated URL, so keep the subpath rewrite alongside the host rule and point the frontend at the relative path, for example ",{"type":107,"tag":120,"props":2176,"children":2178},{"className":2177},[],[2179],{"type":112,"value":2180},"NEXT_PUBLIC_API_URL=\u002Fapi",{"type":112,"value":2182},", so every preview calls its own deployment.",{"type":107,"tag":133,"props":2184,"children":2186},{"id":2185},"call-services-privately-with-bindings",[2187],{"type":112,"value":2188},"Call services privately with bindings",{"type":107,"tag":114,"props":2190,"children":2191},{},[2192],{"type":112,"value":2193},"Declare a binding on the caller service, name the target service, and choose the environment variable that receives the generated URL. Do not hardcode deployment hostnames or manually set binding variables.",{"type":107,"tag":262,"props":2195,"children":2199},{"className":2196,"code":2197,"language":2198,"meta":268,"style":268},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const url = new URL('\u002Fapi\u002Fusers', process.env.BACKEND_INTERNAL_URL);\nconst response = await fetch(url);\n","ts",[2200],{"type":107,"tag":120,"props":2201,"children":2202},{"__ignoreMap":268},[2203,2282],{"type":107,"tag":274,"props":2204,"children":2205},{"class":276,"line":277},[2206,2211,2217,2222,2227,2233,2238,2243,2247,2251,2255,2260,2264,2268,2272,2277],{"type":107,"tag":274,"props":2207,"children":2208},{"style":296},[2209],{"type":112,"value":2210},"const",{"type":107,"tag":274,"props":2212,"children":2214},{"style":2213},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[2215],{"type":112,"value":2216}," url ",{"type":107,"tag":274,"props":2218,"children":2219},{"style":281},[2220],{"type":112,"value":2221},"=",{"type":107,"tag":274,"props":2223,"children":2224},{"style":281},[2225],{"type":112,"value":2226}," new",{"type":107,"tag":274,"props":2228,"children":2230},{"style":2229},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[2231],{"type":112,"value":2232}," URL",{"type":107,"tag":274,"props":2234,"children":2235},{"style":2213},[2236],{"type":112,"value":2237},"(",{"type":107,"tag":274,"props":2239,"children":2240},{"style":281},[2241],{"type":112,"value":2242},"'",{"type":107,"tag":274,"props":2244,"children":2245},{"style":369},[2246],{"type":112,"value":1179},{"type":107,"tag":274,"props":2248,"children":2249},{"style":281},[2250],{"type":112,"value":2242},{"type":107,"tag":274,"props":2252,"children":2253},{"style":281},[2254],{"type":112,"value":769},{"type":107,"tag":274,"props":2256,"children":2257},{"style":2213},[2258],{"type":112,"value":2259}," process",{"type":107,"tag":274,"props":2261,"children":2262},{"style":281},[2263],{"type":112,"value":1132},{"type":107,"tag":274,"props":2265,"children":2266},{"style":2213},[2267],{"type":112,"value":539},{"type":107,"tag":274,"props":2269,"children":2270},{"style":281},[2271],{"type":112,"value":1132},{"type":107,"tag":274,"props":2273,"children":2274},{"style":2213},[2275],{"type":112,"value":2276},"BACKEND_INTERNAL_URL)",{"type":107,"tag":274,"props":2278,"children":2279},{"style":281},[2280],{"type":112,"value":2281},";\n",{"type":107,"tag":274,"props":2283,"children":2284},{"class":276,"line":287},[2285,2289,2294,2298,2304,2309,2314],{"type":107,"tag":274,"props":2286,"children":2287},{"style":296},[2288],{"type":112,"value":2210},{"type":107,"tag":274,"props":2290,"children":2291},{"style":2213},[2292],{"type":112,"value":2293}," response ",{"type":107,"tag":274,"props":2295,"children":2296},{"style":281},[2297],{"type":112,"value":2221},{"type":107,"tag":274,"props":2299,"children":2301},{"style":2300},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[2302],{"type":112,"value":2303}," await",{"type":107,"tag":274,"props":2305,"children":2306},{"style":2229},[2307],{"type":112,"value":2308}," fetch",{"type":107,"tag":274,"props":2310,"children":2311},{"style":2213},[2312],{"type":112,"value":2313},"(url)",{"type":107,"tag":274,"props":2315,"children":2316},{"style":281},[2317],{"type":112,"value":2281},{"type":107,"tag":114,"props":2319,"children":2320},{},[2321],{"type":112,"value":2322},"Bindings are deployment-aware and do not create public routes. They are available to functions at runtime, not during builds or in Routing Middleware. Internal calls skip the public Firewall, Deployment Protection, top-level middleware, and CDN pipeline.",{"type":107,"tag":114,"props":2324,"children":2325},{},[2326],{"type":112,"value":2327},"Public exposure is decided only by top-level rewrites. A service with no top-level rewrite is private: it is unreachable from the public internet and only accessible through its bindings. A service with both bindings and a top-level rewrite is also reachable publicly, so do not assume binding-only access implies the routes are protected.",{"type":107,"tag":114,"props":2329,"children":2330},{},[2331],{"type":112,"value":2332},"A binding grants network reachability, not application authentication. Add service-level authorization when the target must verify the caller.",{"type":107,"tag":114,"props":2334,"children":2335},{},[2336],{"type":112,"value":2337},"Native Go and Rust runtime services cannot currently consume bindings. Build those callers as container services when they need bindings. Node.js and Python services can use bindings directly.",{"type":107,"tag":133,"props":2339,"children":2341},{"id":2340},"develop-and-deploy",[2342],{"type":112,"value":2343},"Develop and deploy",{"type":107,"tag":114,"props":2345,"children":2346},{},[2347],{"type":112,"value":2348},"Run every service and inject local binding variables:",{"type":107,"tag":262,"props":2350,"children":2354},{"className":2351,"code":2352,"language":2353,"meta":268,"style":268},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","vercel dev\n","bash",[2355],{"type":107,"tag":120,"props":2356,"children":2357},{"__ignoreMap":268},[2358],{"type":107,"tag":274,"props":2359,"children":2360},{"class":276,"line":277},[2361,2365],{"type":107,"tag":274,"props":2362,"children":2363},{"style":325},[2364],{"type":112,"value":8},{"type":107,"tag":274,"props":2366,"children":2367},{"style":369},[2368],{"type":112,"value":2369}," dev\n",{"type":107,"tag":114,"props":2371,"children":2372},{},[2373],{"type":112,"value":2374},"Use local-only mode when cloud authentication is unnecessary:",{"type":107,"tag":262,"props":2376,"children":2378},{"className":2351,"code":2377,"language":2353,"meta":268,"style":268},"vercel dev -L\n",[2379],{"type":107,"tag":120,"props":2380,"children":2381},{"__ignoreMap":268},[2382],{"type":107,"tag":274,"props":2383,"children":2384},{"class":276,"line":277},[2385,2389,2394],{"type":107,"tag":274,"props":2386,"children":2387},{"style":325},[2388],{"type":112,"value":8},{"type":107,"tag":274,"props":2390,"children":2391},{"style":369},[2392],{"type":112,"value":2393}," dev",{"type":107,"tag":274,"props":2395,"children":2396},{"style":369},[2397],{"type":112,"value":2398}," -L\n",{"type":107,"tag":114,"props":2400,"children":2401},{},[2402,2404,2409],{"type":112,"value":2403},"Deploy the project normally with ",{"type":107,"tag":120,"props":2405,"children":2407},{"className":2406},[],[2408],{"type":112,"value":8},{"type":112,"value":2410}," or Git integration. All services participate in the same preview and production deployment.",{"type":107,"tag":133,"props":2412,"children":2414},{"id":2413},"troubleshoot",[2415],{"type":112,"value":2416},"Troubleshoot",{"type":107,"tag":957,"props":2418,"children":2419},{},[2420,2431,2441,2451,2467,2477,2487,2497],{"type":107,"tag":961,"props":2421,"children":2422},{},[2423,2429],{"type":107,"tag":2424,"props":2425,"children":2426},"strong",{},[2427],{"type":112,"value":2428},"No public traffic reaches a service:",{"type":112,"value":2430}," add a top-level rewrite targeting it.",{"type":107,"tag":961,"props":2432,"children":2433},{},[2434,2439],{"type":107,"tag":2424,"props":2435,"children":2436},{},[2437],{"type":112,"value":2438},"The wrong service receives a request:",{"type":112,"value":2440}," reorder rewrites so the most specific rule comes first and the catch-all is last.",{"type":107,"tag":961,"props":2442,"children":2443},{},[2444,2449],{"type":107,"tag":2424,"props":2445,"children":2446},{},[2447],{"type":112,"value":2448},"A backend returns 404:",{"type":112,"value":2450}," confirm its routes include the public prefix because Vercel preserves the original request path, or strip the prefix with a service-scoped rewrite.",{"type":107,"tag":961,"props":2452,"children":2453},{},[2454,2459,2461,2466],{"type":107,"tag":2424,"props":2455,"children":2456},{},[2457],{"type":112,"value":2458},"An SPA returns 404 on deep links:",{"type":112,"value":2460}," add a service-scoped catch-all rewrite to ",{"type":107,"tag":120,"props":2462,"children":2464},{"className":2463},[],[2465],{"type":112,"value":1648},{"type":112,"value":1132},{"type":107,"tag":961,"props":2468,"children":2469},{},[2470,2475],{"type":107,"tag":2424,"props":2471,"children":2472},{},[2473],{"type":112,"value":2474},"A subdomain works in production but not in previews:",{"type":112,"value":2476}," preview URLs have a single host, so host rules never match there. Keep a subpath rewrite to the same service and use the relative URL in the frontend.",{"type":107,"tag":961,"props":2478,"children":2479},{},[2480,2485],{"type":107,"tag":2424,"props":2481,"children":2482},{},[2483],{"type":112,"value":2484},"A binding variable is missing:",{"type":112,"value":2486}," declare the binding on the caller and access it from runtime function code, not build code or middleware.",{"type":107,"tag":961,"props":2488,"children":2489},{},[2490,2495],{"type":107,"tag":2424,"props":2491,"children":2492},{},[2493],{"type":112,"value":2494},"Build settings are ignored or rejected:",{"type":112,"value":2496}," move top-level build and runtime fields into the owning service.",{"type":107,"tag":961,"props":2498,"children":2499},{},[2500,2505,2507,2513,2515,2520],{"type":107,"tag":2424,"props":2501,"children":2502},{},[2503],{"type":112,"value":2504},"Framework detection is wrong:",{"type":112,"value":2506}," set that service's ",{"type":107,"tag":120,"props":2508,"children":2510},{"className":2509},[],[2511],{"type":112,"value":2512},"framework",{"type":112,"value":2514}," or ",{"type":107,"tag":120,"props":2516,"children":2518},{"className":2517},[],[2519],{"type":112,"value":258},{"type":112,"value":2521}," explicitly instead of changing the whole project.",{"type":107,"tag":133,"props":2523,"children":2525},{"id":2524},"related-skills",[2526],{"type":112,"value":2527},"Related skills",{"type":107,"tag":957,"props":2529,"children":2530},{},[2531,2542,2553],{"type":107,"tag":961,"props":2532,"children":2533},{},[2534,2536],{"type":112,"value":2535},"Deployment commands and CI: ",{"type":107,"tag":120,"props":2537,"children":2539},{"className":2538},[],[2540],{"type":112,"value":2541},"⤳ skill: deployments-cicd",{"type":107,"tag":961,"props":2543,"children":2544},{},[2545,2547],{"type":112,"value":2546},"Function runtime behavior and limits: ",{"type":107,"tag":120,"props":2548,"children":2550},{"className":2549},[],[2551],{"type":112,"value":2552},"⤳ skill: vercel-functions",{"type":107,"tag":961,"props":2554,"children":2555},{},[2556,2558],{"type":112,"value":2557},"Independent frontend deployments: ",{"type":107,"tag":120,"props":2559,"children":2561},{"className":2560},[],[2562],{"type":112,"value":2563},"⤳ skill: microfrontends",{"type":107,"tag":2565,"props":2566,"children":2567},"style",{},[2568],{"type":112,"value":2569},"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);}",{"items":2571,"total":2746},[2572,2592,2606,2625,2636,2651,2667,2685,2697,2714,2726,2736],{"slug":2573,"name":2573,"fn":2574,"description":2575,"org":2576,"tags":2577,"stars":2589,"repoUrl":2590,"updatedAt":2591},"next-cache-components-adoption","enable and migrate to Next.js Cache Components","Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the `cacheComponents` flag, work through a flood of blocking-prerender \u002F instant validation errors, run the `cache-components-instant-false` codemod, or decide between opting routes out with `export const instant = false` and fixing them in place.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2578,2581,2582,2585,2588],{"name":2579,"slug":2580,"type":13},"Caching","caching",{"name":24,"slug":25,"type":13},{"name":2583,"slug":2584,"type":13},"Migration","migration",{"name":2586,"slug":2587,"type":13},"Next.js","next-js",{"name":9,"slug":8,"type":13},141208,"https:\u002F\u002Fgithub.com\u002Fvercel\u002Fnext.js","2026-08-06T05:36:46.540474",{"slug":2593,"name":2593,"fn":2594,"description":2595,"org":2596,"tags":2597,"stars":2589,"repoUrl":2590,"updatedAt":2605},"next-cache-components-optimizer","optimize Next.js cache components","Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components \u002F PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next\u002Fplaywright instant() e2e and work it to green, one verified route at a time; the shipped test then guards against regression. Use when asked to make a route's navigation instant (its static shell commits immediately), fix a route whose static shell isn't prerendered\u002Fserved\u002Fprefetched, grow a route's static shell or fix its slow first paint, diagnose which Suspense boundary keeps a route out of its static shell, or write the instant() e2e guard for one. Requires Next.js 16.3+ with cacheComponents; directs an upgrade if older.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2598,2599,2600,2601,2604],{"name":2579,"slug":2580,"type":13},{"name":24,"slug":25,"type":13},{"name":2586,"slug":2587,"type":13},{"name":2602,"slug":2603,"type":13},"Performance","performance",{"name":9,"slug":8,"type":13},"2026-08-06T05:36:44.504289",{"slug":2607,"name":2607,"fn":2608,"description":2609,"org":2610,"tags":2611,"stars":2589,"repoUrl":2590,"updatedAt":2624},"next-dev-loop","verify Next.js runtime behavior","Verify Next.js runtime behavior after editing app code. Use this skill to confirm a change actually works in a running app — not just that it compiles or type-checks. Combines \u002F_next\u002Fmcp (Next.js's view) with agent-browser (the browser's view). Requires a running `next dev`.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2612,2615,2616,2619,2620,2621],{"name":2613,"slug":2614,"type":13},"Debugging","debugging",{"name":24,"slug":25,"type":13},{"name":2617,"slug":2618,"type":13},"Local Development","local-development",{"name":2586,"slug":2587,"type":13},{"name":9,"slug":8,"type":13},{"name":2622,"slug":2623,"type":13},"Web Development","web-development","2026-08-06T05:36:43.521694",{"slug":2626,"name":2626,"fn":2627,"description":2628,"org":2629,"tags":2630,"stars":2589,"repoUrl":2590,"updatedAt":2635},"next-partial-prefetching-adoption","adopt Partial Prefetching in Next.js apps","Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the `partialPrefetching` flag, opt routes in with `export const prefetch = 'partial'`, audit `\u003CLink prefetch={true}>` calls, or resolve the link-prefetch-partial and instant-shell-url-data insights.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2631,2632,2633,2634],{"name":24,"slug":25,"type":13},{"name":2586,"slug":2587,"type":13},{"name":2602,"slug":2603,"type":13},{"name":9,"slug":8,"type":13},"2026-08-06T05:36:45.494252",{"slug":2637,"name":2637,"fn":2638,"description":2639,"org":2640,"tags":2641,"stars":2648,"repoUrl":2649,"updatedAt":2650},"turborepo","manage monorepos with Turborepo","Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines,\ndependsOn, caching, remote cache, the \"turbo\" CLI, --filter, --affected, CI optimization, environment\nvariables, internal packages, monorepo structure\u002Fbest practices, and boundaries.\n\nUse when user: configures tasks\u002Fworkflows\u002Fpipelines, creates packages, sets up\nmonorepo, shares code between apps, runs changed\u002Faffected packages, debugs cache,\nor has apps\u002Fpackages directories.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2642,2645,2646],{"name":2643,"slug":2644,"type":13},"CI\u002FCD","ci-cd",{"name":2602,"slug":2603,"type":13},{"name":2647,"slug":2637,"type":13},"Turborepo",30809,"https:\u002F\u002Fgithub.com\u002Fvercel\u002Fturborepo","2026-08-09T04:07:04.593977",{"slug":2652,"name":2652,"fn":2653,"description":2654,"org":2655,"tags":2656,"stars":2664,"repoUrl":2665,"updatedAt":2666},"add-function-examples","add AI function examples for testing","Guide for adding new AI function examples, for testing specific features against the actual provider APIs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2657,2660,2663],{"name":2658,"slug":2659,"type":13},"AI SDK","ai-sdk",{"name":2661,"slug":2662,"type":13},"Testing","testing",{"name":9,"slug":8,"type":13},25670,"https:\u002F\u002Fgithub.com\u002Fvercel\u002Fai","2026-04-06T18:55:51.318866",{"slug":2668,"name":2668,"fn":2669,"description":2670,"org":2671,"tags":2672,"stars":2664,"repoUrl":2665,"updatedAt":2684},"add-harness-package","add AI SDK harness packages","Guide for adding new AI SDK harness packages. Use when creating a new @ai-sdk\u002Fharness-\u003Cname> package that adapts a coding-agent runtime to HarnessV1.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2673,2676,2677,2680,2683],{"name":2674,"slug":2675,"type":13},"Agents","agents",{"name":2658,"slug":2659,"type":13},{"name":2678,"slug":2679,"type":13},"Harness","harness",{"name":2681,"slug":2682,"type":13},"SDK","sdk",{"name":9,"slug":8,"type":13},"2026-06-18T08:29:19.858737",{"slug":2686,"name":2686,"fn":2687,"description":2688,"org":2689,"tags":2690,"stars":2664,"repoUrl":2665,"updatedAt":2696},"add-provider-package","add new provider packages to AI SDK","Guide for adding new AI provider packages to the AI SDK. Use when creating a new @ai-sdk\u002F\u003Cprovider> package to integrate an AI service into the SDK.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2691,2692,2695],{"name":2658,"slug":2659,"type":13},{"name":2693,"slug":2694,"type":13},"API Development","api-development",{"name":9,"slug":8,"type":13},"2026-04-06T18:55:47.45549",{"slug":2698,"name":2698,"fn":2699,"description":2700,"org":2701,"tags":2702,"stars":2664,"repoUrl":2665,"updatedAt":2713},"adr-skill","create and maintain architecture decision records","Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows. Use when you need to propose, write, update, accept\u002Freject, deprecate, or supersede an ADR; bootstrap an adr folder and index; consult existing ADRs before implementing changes; or enforce ADR conventions. This skill uses Socratic questioning to capture intent before drafting, and validates output against an agent-readiness checklist.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2703,2706,2707,2710],{"name":2704,"slug":2705,"type":13},"ADR","adr",{"name":18,"slug":19,"type":13},{"name":2708,"slug":2709,"type":13},"Documentation","documentation",{"name":2711,"slug":2712,"type":13},"Engineering","engineering","2026-04-06T18:55:50.043694",{"slug":2659,"name":2659,"fn":2715,"description":2716,"org":2717,"tags":2718,"stars":2664,"repoUrl":2665,"updatedAt":2725},"build AI features with Vercel AI SDK","Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: \"AI SDK\", \"Vercel AI SDK\", \"generateText\", \"streamText\", \"add AI to my app\", \"build an agent\", \"tool calling\", \"structured output\", \"useChat\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2719,2720,2721,2724],{"name":2674,"slug":2675,"type":13},{"name":2658,"slug":2659,"type":13},{"name":2722,"slug":2723,"type":13},"LLM","llm",{"name":9,"slug":8,"type":13},"2026-04-06T18:55:48.739463",{"slug":2727,"name":2727,"fn":2728,"description":2729,"org":2730,"tags":2731,"stars":2664,"repoUrl":2665,"updatedAt":2735},"capture-api-response-test-fixture","capture API response test fixtures","Capture API response test fixture.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2732,2733,2734],{"name":2693,"slug":2694,"type":13},{"name":2661,"slug":2662,"type":13},{"name":9,"slug":8,"type":13},"2026-04-06T18:55:56.374433",{"slug":2737,"name":2737,"fn":2738,"description":2739,"org":2740,"tags":2741,"stars":2664,"repoUrl":2665,"updatedAt":2745},"develop-ai-functions-example","develop AI SDK function examples","Develop examples for AI SDK functions. Use when creating, running, or modifying examples under examples\u002Fai-functions\u002Fsrc to validate provider support, demonstrate features, or create test fixtures.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2742,2743,2744],{"name":2658,"slug":2659,"type":13},{"name":2661,"slug":2662,"type":13},{"name":9,"slug":8,"type":13},"2026-04-06T18:55:55.088956",70,{"items":2748,"total":2846},[2749,2764,2779,2794,2807,2820,2833],{"slug":2750,"name":2750,"fn":2751,"description":2752,"org":2753,"tags":2754,"stars":26,"repoUrl":27,"updatedAt":2763},"access-protected-vercel-deployment","access and test protected Vercel deployments","Access and test Vercel deployments protected by Vercel Authentication, SSO, or Deployment Protection. Use when curl, agent-browser, Playwright, or another automated request reaches a Vercel login or protection page; when a protected preview or production URL returns 401 or 403; when TRUSTED_SOURCES_ENVIRONMENT_MISMATCH appears; or when choosing between `vercel curl` and the `x-vercel-trusted-oidc-idp-token` header.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2755,2758,2759,2762],{"name":2756,"slug":2757,"type":13},"Auth","auth",{"name":21,"slug":22,"type":13},{"name":2760,"slug":2761,"type":13},"Security","security",{"name":9,"slug":8,"type":13},"2026-08-03T06:27:15.914615",{"slug":2765,"name":2765,"fn":2766,"description":2767,"org":2768,"tags":2769,"stars":26,"repoUrl":27,"updatedAt":2778},"ai-gateway","configure and manage Vercel AI Gateway","Vercel AI Gateway expert guidance. Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2770,2773,2776,2777],{"name":2771,"slug":2772,"type":13},"AI Infrastructure","ai-infrastructure",{"name":2774,"slug":2775,"type":13},"Cost Optimization","cost-optimization",{"name":2722,"slug":2723,"type":13},{"name":9,"slug":8,"type":13},"2026-04-06T18:56:06.57787",{"slug":2757,"name":2757,"fn":2780,"description":2781,"org":2782,"tags":2783,"stars":26,"repoUrl":27,"updatedAt":2793},"integrate authentication in Next.js apps","Authentication integration guidance — Clerk (native Vercel Marketplace), Descope, and Auth0 setup for Next.js applications. Covers middleware auth patterns, sign-in\u002Fsign-up flows, and Marketplace provisioning. Use when implementing user authentication.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2784,2787,2790,2791,2792],{"name":2785,"slug":2786,"type":13},"Auth0","auth0",{"name":2788,"slug":2789,"type":13},"Authentication","authentication",{"name":2586,"slug":2587,"type":13},{"name":2760,"slug":2761,"type":13},{"name":9,"slug":8,"type":13},"2026-04-06T18:56:17.050565",{"slug":2795,"name":2795,"fn":2796,"description":2797,"org":2798,"tags":2799,"stars":26,"repoUrl":27,"updatedAt":2806},"bootstrap","bootstrap Vercel-linked repositories","Project bootstrapping orchestrator for repos that depend on Vercel-linked resources (databases, auth, and managed integrations). Use when setting up or repairing a repository so linking, environment provisioning, env pulls, and first-run db\u002Fdev commands happen in the correct safe order.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2800,2803,2804,2805],{"name":2801,"slug":2802,"type":13},"Configuration","configuration",{"name":21,"slug":22,"type":13},{"name":2617,"slug":2618,"type":13},{"name":9,"slug":8,"type":13},"2026-04-06T18:56:18.297868",{"slug":2808,"name":2808,"fn":2809,"description":2810,"org":2811,"tags":2812,"stars":26,"repoUrl":27,"updatedAt":2819},"cdn-caching","debug Vercel CDN caching behavior","Debug Vercel CDN caching — cache hit rate, stale content, revalidation behavior, ISR + PPR, per-request cache reasons (cacheReason) and PPR state (ppr_state), and costs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2813,2814,2817,2818],{"name":2579,"slug":2580,"type":13},{"name":2815,"slug":2816,"type":13},"Observability","observability",{"name":2602,"slug":2603,"type":13},{"name":9,"slug":8,"type":13},"2026-08-06T05:34:49.901951",{"slug":2821,"name":2821,"fn":2822,"description":2823,"org":2824,"tags":2825,"stars":26,"repoUrl":27,"updatedAt":2832},"chat-sdk","build multi-platform chatbots with Vercel","Vercel Chat SDK expert guidance. Use when building multi-platform chat bots — Slack, Telegram, Microsoft Teams, Discord, Google Chat, GitHub, Linear — with a single codebase. Covers the Chat class, adapters, threads, messages, cards, modals, streaming, state management, and webhook setup.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2826,2827,2830,2831],{"name":2674,"slug":2675,"type":13},{"name":2828,"slug":2829,"type":13},"Messaging","messaging",{"name":2681,"slug":2682,"type":13},{"name":9,"slug":8,"type":13},"2026-04-06T18:56:26.921901",{"slug":2834,"name":2834,"fn":2835,"description":2836,"org":2837,"tags":2838,"stars":26,"repoUrl":27,"updatedAt":2845},"deployments-cicd","manage Vercel deployments and CI\u002FCD","Vercel deployment and CI\u002FCD expert guidance. Use when deploying, promoting, rolling back, inspecting deployments, building with --prebuilt, or configuring CI workflow files for Vercel.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2839,2840,2841,2844],{"name":2643,"slug":2644,"type":13},{"name":21,"slug":22,"type":13},{"name":2842,"slug":2843,"type":13},"Operations","operations",{"name":9,"slug":8,"type":13},"2026-04-06T18:56:22.054263",31]