[{"data":1,"prerenderedAt":1089},["ShallowReactive",2],{"navigation":3,"examples-nav":402,"-examples-runtime-config":503,"-examples-runtime-config-surround":1086},[4,93,226,232,387,399],{"title":5,"path":6,"stem":7,"children":8,"icon":92},"","/docs","1.docs/1.index",[9,12,17,22,27,32,37,42,47,52,57,62,67,72,77,82,87],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-compass",{"title":13,"path":14,"stem":15,"icon":16},"Quick Start","/docs/quick-start","1.docs/2.quick-start","i-lucide-zap",{"title":18,"path":19,"stem":20,"icon":21},"Renderer","/docs/renderer","1.docs/4.renderer","ri:layout-masonry-line",{"title":23,"path":24,"stem":25,"icon":26},"Routing","/docs/routing","1.docs/5.routing","ri:direction-line",{"title":28,"path":29,"stem":30,"icon":31},"Assets","/docs/assets","1.docs/50.assets","ri:image-2-line",{"title":33,"path":34,"stem":35,"icon":36},"Configuration","/docs/configuration","1.docs/50.configuration","ri:settings-3-line",{"title":38,"path":39,"stem":40,"icon":41},"Database","/docs/database","1.docs/50.database","ri:database-2-line",{"title":43,"path":44,"stem":45,"icon":46},"Lifecycle","/docs/lifecycle","1.docs/50.lifecycle","i-lucide-layers",{"title":48,"path":49,"stem":50,"icon":51},"OpenAPI","/docs/openapi","1.docs/50.openapi","ri:contract-line",{"title":53,"path":54,"stem":55,"icon":56},"Plugins","/docs/plugins","1.docs/50.plugins","ri:plug-line",{"title":58,"path":59,"stem":60,"icon":61},"Tasks","/docs/tasks","1.docs/50.tasks","codicon:run-all",{"title":63,"path":64,"stem":65,"icon":66},"WebSocket","/docs/websocket","1.docs/50.websocket","ri:broadcast-fill",{"title":68,"path":69,"stem":70,"icon":71},"Server Entry","/docs/server-entry","1.docs/6.server-entry","ri:server-line",{"title":73,"path":74,"stem":75,"icon":76},"Cache","/docs/cache","1.docs/7.cache","ri:speed-line",{"title":78,"path":79,"stem":80,"icon":81},"KV Storage","/docs/storage","1.docs/8.storage","carbon:datastore",{"title":83,"path":84,"stem":85,"icon":86},"Migration Guide","/docs/migration","1.docs/99.migration","ri:arrow-right-up-line",{"title":88,"path":89,"stem":90,"icon":91},"Nightly Channel","/docs/nightly","1.docs/99.nightly","ri:moon-fill","i-lucide-book-open",{"title":94,"path":95,"stem":96,"children":97,"icon":99},"Deploy","/deploy","2.deploy/0.index",[98,100,121],{"title":94,"path":95,"stem":96,"icon":99},"ri:upload-cloud-2-line",{"title":101,"path":102,"stem":103,"children":104,"page":120},"Runtimes","/deploy/runtimes","2.deploy/10.runtimes",[105,110,115],{"title":106,"path":107,"stem":108,"icon":109},"Node.js","/deploy/runtimes/node","2.deploy/10.runtimes/1.node","akar-icons:node-fill",{"title":111,"path":112,"stem":113,"icon":114},"Bun","/deploy/runtimes/bun","2.deploy/10.runtimes/bun","simple-icons:bun",{"title":116,"path":117,"stem":118,"icon":119},"Deno","/deploy/runtimes/deno","2.deploy/10.runtimes/deno","simple-icons:deno",false,{"title":122,"path":123,"stem":124,"children":125,"page":120},"Providers","/deploy/providers","2.deploy/20.providers",[126,130,134,138,142,146,150,154,158,162,166,170,174,178,182,186,190,194,198,202,206,210,214,218,222],{"title":127,"path":128,"stem":129},"Alwaysdata","/deploy/providers/alwaysdata","2.deploy/20.providers/alwaysdata",{"title":131,"path":132,"stem":133},"AWS Lambda","/deploy/providers/aws","2.deploy/20.providers/aws",{"title":135,"path":136,"stem":137},"AWS Amplify","/deploy/providers/aws-amplify","2.deploy/20.providers/aws-amplify",{"title":139,"path":140,"stem":141},"Azure","/deploy/providers/azure","2.deploy/20.providers/azure",{"title":143,"path":144,"stem":145},"Cleavr","/deploy/providers/cleavr","2.deploy/20.providers/cleavr",{"title":147,"path":148,"stem":149},"Cloudflare","/deploy/providers/cloudflare","2.deploy/20.providers/cloudflare",{"title":151,"path":152,"stem":153},"Deno Deploy","/deploy/providers/deno-deploy","2.deploy/20.providers/deno-deploy",{"title":155,"path":156,"stem":157},"DigitalOcean","/deploy/providers/digitalocean","2.deploy/20.providers/digitalocean",{"title":159,"path":160,"stem":161},"EdgeOne Pages","/deploy/providers/edgeone","2.deploy/20.providers/edgeone",{"title":163,"path":164,"stem":165},"Firebase","/deploy/providers/firebase","2.deploy/20.providers/firebase",{"title":167,"path":168,"stem":169},"Flightcontrol","/deploy/providers/flightcontrol","2.deploy/20.providers/flightcontrol",{"title":171,"path":172,"stem":173},"Genezio","/deploy/providers/genezio","2.deploy/20.providers/genezio",{"title":175,"path":176,"stem":177},"GitHub Pages","/deploy/providers/github-pages","2.deploy/20.providers/github-pages",{"title":179,"path":180,"stem":181},"GitLab Pages","/deploy/providers/gitlab-pages","2.deploy/20.providers/gitlab-pages",{"title":183,"path":184,"stem":185},"Heroku","/deploy/providers/heroku","2.deploy/20.providers/heroku",{"title":187,"path":188,"stem":189},"IIS","/deploy/providers/iis","2.deploy/20.providers/iis",{"title":191,"path":192,"stem":193},"Koyeb","/deploy/providers/koyeb","2.deploy/20.providers/koyeb",{"title":195,"path":196,"stem":197},"Netlify","/deploy/providers/netlify","2.deploy/20.providers/netlify",{"title":199,"path":200,"stem":201},"Platform.sh","/deploy/providers/platform-sh","2.deploy/20.providers/platform-sh",{"title":203,"path":204,"stem":205},"Render.com","/deploy/providers/render","2.deploy/20.providers/render",{"title":207,"path":208,"stem":209},"StormKit","/deploy/providers/stormkit","2.deploy/20.providers/stormkit",{"title":211,"path":212,"stem":213},"Vercel","/deploy/providers/vercel","2.deploy/20.providers/vercel",{"title":215,"path":216,"stem":217},"Zeabur","/deploy/providers/zeabur","2.deploy/20.providers/zeabur",{"title":219,"path":220,"stem":221},"Zephyr Cloud","/deploy/providers/zephyr","2.deploy/20.providers/zephyr",{"title":223,"path":224,"stem":225},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":227,"path":228,"stem":229,"children":230,"icon":36},"Config","/config","3.config/0.index",[231],{"title":227,"path":228,"stem":229,"icon":36},{"title":233,"path":234,"stem":235,"children":236,"icon":238},"Examples","/examples","4.examples/0.index",[237,239,244,249,254,259,263,268,273,278,283,288,293,297,302,306,310,315,320,325,330,335,340,345,350,355,359,364,369,373,378,383],{"title":233,"path":234,"stem":235,"icon":238},"i-lucide-folder-code",{"title":240,"path":241,"stem":242,"icon":243},"API Routes","/examples/api-routes","4.examples/api-routes","i-lucide-route",{"title":245,"path":246,"stem":247,"icon":248},"Auto Imports","/examples/auto-imports","4.examples/auto-imports","i-lucide-import",{"title":250,"path":251,"stem":252,"icon":253},"Cached Handler","/examples/cached-handler","4.examples/cached-handler","i-lucide-clock",{"title":255,"path":256,"stem":257,"icon":258},"Custom Error Handler","/examples/custom-error-handler","4.examples/custom-error-handler","i-lucide-alert-circle",{"title":38,"path":260,"stem":261,"icon":262},"/examples/database","4.examples/database","i-lucide-database",{"title":264,"path":265,"stem":266,"icon":267},"Elysia","/examples/elysia","4.examples/elysia","i-skill-icons-elysia-dark",{"title":269,"path":270,"stem":271,"icon":272},"Express","/examples/express","4.examples/express","i-simple-icons-express",{"title":274,"path":275,"stem":276,"icon":277},"Fastify","/examples/fastify","4.examples/fastify","i-simple-icons-fastify",{"title":279,"path":280,"stem":281,"icon":282},"Hello World","/examples/hello-world","4.examples/hello-world","i-lucide-sparkles",{"title":284,"path":285,"stem":286,"icon":287},"Hono","/examples/hono","4.examples/hono","i-logos-hono",{"title":289,"path":290,"stem":291,"icon":292},"Import Alias","/examples/import-alias","4.examples/import-alias","i-lucide-at-sign",{"title":294,"path":295,"stem":296,"icon":46},"Middleware","/examples/middleware","4.examples/middleware",{"title":298,"path":299,"stem":300,"icon":301},"Mono JSX","/examples/mono-jsx","4.examples/mono-jsx","i-lucide-brackets",{"title":303,"path":304,"stem":305,"icon":301},"Nano JSX","/examples/nano-jsx","4.examples/nano-jsx",{"title":53,"path":307,"stem":308,"icon":309},"/examples/plugins","4.examples/plugins","i-lucide-plug",{"title":311,"path":312,"stem":313,"icon":314},"Custom Renderer","/examples/renderer","4.examples/renderer","i-lucide-code",{"title":316,"path":317,"stem":318,"icon":319},"Runtime Config","/examples/runtime-config","4.examples/runtime-config","i-lucide-settings",{"title":321,"path":322,"stem":323,"icon":324},"Server Fetch","/examples/server-fetch","4.examples/server-fetch","i-lucide-arrow-right-left",{"title":326,"path":327,"stem":328,"icon":329},"Shiki","/examples/shiki","4.examples/shiki","i-lucide-highlighter",{"title":331,"path":332,"stem":333,"icon":334},"Virtual Routes","/examples/virtual-routes","4.examples/virtual-routes","i-lucide-box",{"title":336,"path":337,"stem":338,"icon":339},"Vite Nitro Plugin","/examples/vite-nitro-plugin","4.examples/vite-nitro-plugin","i-logos-vitejs",{"title":341,"path":342,"stem":343,"icon":344},"Vite RSC","/examples/vite-rsc","4.examples/vite-rsc","i-logos-react",{"title":346,"path":347,"stem":348,"icon":349},"Vite SSR HTML","/examples/vite-ssr-html","4.examples/vite-ssr-html","i-logos-html-5",{"title":351,"path":352,"stem":353,"icon":354},"SSR with Preact","/examples/vite-ssr-preact","4.examples/vite-ssr-preact","i-logos-preact",{"title":356,"path":357,"stem":358,"icon":344},"SSR with React","/examples/vite-ssr-react","4.examples/vite-ssr-react",{"title":360,"path":361,"stem":362,"icon":363},"SSR with SolidJS","/examples/vite-ssr-solid","4.examples/vite-ssr-solid","i-logos-solidjs-icon",{"title":365,"path":366,"stem":367,"icon":368},"SSR with TanStack Router","/examples/vite-ssr-tsr-react","4.examples/vite-ssr-tsr-react","i-simple-icons-tanstack",{"title":370,"path":371,"stem":372,"icon":368},"SSR with TanStack Start","/examples/vite-ssr-tss-react","4.examples/vite-ssr-tss-react",{"title":374,"path":375,"stem":376,"icon":377},"SSR with Vue Router","/examples/vite-ssr-vue-router","4.examples/vite-ssr-vue-router","i-logos-vue",{"title":379,"path":380,"stem":381,"icon":382},"Vite + tRPC","/examples/vite-trpc","4.examples/vite-trpc","i-simple-icons-trpc",{"title":63,"path":384,"stem":385,"icon":386},"/examples/websocket","4.examples/websocket","i-lucide-radio",{"title":388,"path":389,"stem":390,"children":391},"Blog","/blog","9.blog",[392,395],{"title":388,"path":389,"stem":393,"icon":394},"9.blog/index","i-lucide-file-text",{"title":396,"path":397,"stem":398,"icon":394},"Nitro v3 Beta is here!","/blog/v3-beta","9.blog/1.v3-beta",{"title":5,"path":400,"stem":401},"/","index",[403,408,412,415,418,421,425,428,431,434,437,440,443,447,450,453,456,459,462,466,469,473,476,479,482,485,488,491,494,497,500],{"title":240,"description":404,"meta":405,"path":241},"File-based API routing with HTTP method support and dynamic parameters.",{"automd":406,"category":407,"icon":243},true,"features",{"title":245,"description":409,"meta":410,"path":246},"Automatic imports for utilities and composables.",{"automd":406,"category":411,"icon":248},"config",{"title":250,"description":413,"meta":414,"path":251},"Cache route responses with configurable bypass logic.",{"automd":406,"category":407,"icon":253},{"title":255,"description":416,"meta":417,"path":256},"Customize error responses with a global error handler.",{"automd":406,"category":407,"icon":258},{"title":38,"description":419,"meta":420,"path":260},"Built-in database support with SQL template literals.",{"automd":406,"category":407,"icon":262},{"title":264,"description":422,"meta":423,"path":265},"Integrate Elysia with Nitro using the server entry.",{"automd":406,"category":424,"icon":267},"backend frameworks",{"title":269,"description":426,"meta":427,"path":270},"Integrate Express with Nitro using the server entry.",{"automd":406,"category":424,"icon":272},{"title":274,"description":429,"meta":430,"path":275},"Integrate Fastify with Nitro using the server entry.",{"automd":406,"category":424,"icon":277},{"title":279,"description":432,"meta":433,"path":280},"Minimal Nitro server using the web standard fetch handler.",{"automd":406,"category":407,"icon":282},{"title":284,"description":435,"meta":436,"path":285},"Integrate Hono with Nitro using the server entry.",{"automd":406,"category":424,"icon":287},{"title":289,"description":438,"meta":439,"path":290},"Custom import aliases for cleaner module paths.",{"automd":406,"category":411,"icon":292},{"title":294,"description":441,"meta":442,"path":295},"Request middleware for authentication, logging, and request modification.",{"automd":406,"category":407,"icon":46},{"title":298,"description":444,"meta":445,"path":299},"Server-side JSX rendering in Nitro with mono-jsx.",{"automd":406,"category":446,"icon":301},"server side rendering",{"title":303,"description":448,"meta":449,"path":304},"Server-side JSX rendering in Nitro with nano-jsx.",{"automd":406,"category":446,"icon":301},{"title":53,"description":451,"meta":452,"path":307},"Extend Nitro with custom plugins for hooks and lifecycle events.",{"automd":406,"category":407,"icon":309},{"title":311,"description":454,"meta":455,"path":312},"Build a custom HTML renderer in Nitro with server-side data fetching.",{"automd":406,"category":446,"icon":314},{"title":316,"description":457,"meta":458,"path":317},"Environment-aware configuration with runtime access.",{"automd":406,"category":411,"icon":319},{"title":321,"description":460,"meta":461,"path":322},"Internal server-to-server requests without network overhead.",{"automd":406,"category":407,"icon":324},{"title":326,"description":463,"meta":464,"path":327},"Server-side syntax highlighting in Nitro with Shiki.",{"automd":406,"category":465,"icon":329},"integrations",{"title":331,"description":467,"meta":468,"path":332},"Define routes programmatically using Nitro's virtual module system.",{"automd":406,"category":407,"icon":334},{"title":336,"description":470,"meta":471,"path":337},"Use Nitro as a Vite plugin for programmatic configuration.",{"automd":406,"category":472,"icon":339},"vite",{"title":341,"description":474,"meta":475,"path":342},"React Server Components with Vite and Nitro.",{"automd":406,"category":472,"icon":344},{"title":346,"description":477,"meta":478,"path":347},"Server-side rendering with vanilla HTML, Vite, and Nitro.",{"automd":406,"category":446,"icon":349},{"title":351,"description":480,"meta":481,"path":352},"Server-side rendering with Preact in Nitro using Vite.",{"automd":406,"category":446,"icon":354},{"title":356,"description":483,"meta":484,"path":357},"Server-side rendering with React in Nitro using Vite.",{"automd":406,"category":446,"icon":344},{"title":360,"description":486,"meta":487,"path":361},"Server-side rendering with SolidJS in Nitro using Vite.",{"automd":406,"category":446,"icon":363},{"title":365,"description":489,"meta":490,"path":366},"Client-side routing with TanStack Router in Nitro using Vite.",{"automd":406,"category":446,"icon":368},{"title":370,"description":492,"meta":493,"path":371},"Full-stack React with TanStack Start in Nitro using Vite.",{"automd":406,"category":446,"icon":368},{"title":374,"description":495,"meta":496,"path":375},"Server-side rendering with Vue Router in Nitro using Vite.",{"automd":406,"category":446,"icon":377},{"title":379,"description":498,"meta":499,"path":380},"End-to-end typesafe APIs with tRPC in Nitro using Vite.",{"automd":406,"category":472,"icon":382},{"title":63,"description":501,"meta":502,"path":384},"Real-time bidirectional communication with WebSocket support.",{"automd":406,"category":407,"icon":386},{"id":504,"title":316,"body":505,"description":457,"extension":1081,"meta":1082,"navigation":1083,"path":317,"seo":1084,"stem":318,"__hash__":1085},"content/4.examples/runtime-config.md",{"type":506,"value":507,"toc":1075,"icon":319},"minimark",[508,867,871,876,882,940,944,951,1023,1027,1033,1058,1062,1071],[509,510,513,608,698,789,813],"code-tree",{":expand-all":511,"default-value":512},"true","nitro.config.ts",[514,515,519],"pre",{"className":516,"code":517,"filename":512,"language":518,"meta":5,"style":5},"language-ts shiki shiki-themes github-light github-dark github-dark","import { defineConfig } from \"nitro\";\n\nexport default defineConfig({\n  serverDir: \"./\",\n  runtimeConfig: {\n    apiKey: \"\",\n  },\n});\n","ts",[520,521,522,545,551,567,579,585,596,602],"code",{"__ignoreMap":5},[523,524,527,531,535,538,542],"span",{"class":525,"line":526},"line",1,[523,528,530],{"class":529},"so5gQ","import",[523,532,534],{"class":533},"slsVL"," { defineConfig } ",[523,536,537],{"class":529},"from",[523,539,541],{"class":540},"sfrk1"," \"nitro\"",[523,543,544],{"class":533},";\n",[523,546,548],{"class":525,"line":547},2,[523,549,550],{"emptyLinePlaceholder":406},"\n",[523,552,554,557,560,564],{"class":525,"line":553},3,[523,555,556],{"class":529},"export",[523,558,559],{"class":529}," default",[523,561,563],{"class":562},"shcOC"," defineConfig",[523,565,566],{"class":533},"({\n",[523,568,570,573,576],{"class":525,"line":569},4,[523,571,572],{"class":533},"  serverDir: ",[523,574,575],{"class":540},"\"./\"",[523,577,578],{"class":533},",\n",[523,580,582],{"class":525,"line":581},5,[523,583,584],{"class":533},"  runtimeConfig: {\n",[523,586,588,591,594],{"class":525,"line":587},6,[523,589,590],{"class":533},"    apiKey: ",[523,592,593],{"class":540},"\"\"",[523,595,578],{"class":533},[523,597,599],{"class":525,"line":598},7,[523,600,601],{"class":533},"  },\n",[523,603,605],{"class":525,"line":604},8,[523,606,607],{"class":533},"});\n",[514,609,614],{"className":610,"code":611,"filename":612,"language":613,"meta":5,"style":5},"language-json shiki shiki-themes github-light github-dark github-dark","{\n  \"type\": \"module\",\n  \"scripts\": {\n    \"dev\": \"nitro dev\",\n    \"build\": \"nitro build\"\n  },\n  \"devDependencies\": {\n    \"nitro\": \"latest\"\n  }\n}\n","package.json","json",[520,615,616,621,635,643,655,665,669,676,686,692],{"__ignoreMap":5},[523,617,618],{"class":525,"line":526},[523,619,620],{"class":533},"{\n",[523,622,623,627,630,633],{"class":525,"line":547},[523,624,626],{"class":625},"suiK_","  \"type\"",[523,628,629],{"class":533},": ",[523,631,632],{"class":540},"\"module\"",[523,634,578],{"class":533},[523,636,637,640],{"class":525,"line":553},[523,638,639],{"class":625},"  \"scripts\"",[523,641,642],{"class":533},": {\n",[523,644,645,648,650,653],{"class":525,"line":569},[523,646,647],{"class":625},"    \"dev\"",[523,649,629],{"class":533},[523,651,652],{"class":540},"\"nitro dev\"",[523,654,578],{"class":533},[523,656,657,660,662],{"class":525,"line":581},[523,658,659],{"class":625},"    \"build\"",[523,661,629],{"class":533},[523,663,664],{"class":540},"\"nitro build\"\n",[523,666,667],{"class":525,"line":587},[523,668,601],{"class":533},[523,670,671,674],{"class":525,"line":598},[523,672,673],{"class":625},"  \"devDependencies\"",[523,675,642],{"class":533},[523,677,678,681,683],{"class":525,"line":604},[523,679,680],{"class":625},"    \"nitro\"",[523,682,629],{"class":533},[523,684,685],{"class":540},"\"latest\"\n",[523,687,689],{"class":525,"line":688},9,[523,690,691],{"class":533},"  }\n",[523,693,695],{"class":525,"line":694},10,[523,696,697],{"class":533},"}\n",[514,699,702],{"className":516,"code":700,"filename":701,"language":518,"meta":5,"style":5},"import { defineHandler } from \"nitro\";\nimport { useRuntimeConfig } from \"nitro/runtime-config\";\n\nexport default defineHandler((event) => {\n  const runtimeConfig = useRuntimeConfig();\n  return { runtimeConfig };\n});\n","server.ts",[520,703,704,717,731,735,760,777,785],{"__ignoreMap":5},[523,705,706,708,711,713,715],{"class":525,"line":526},[523,707,530],{"class":529},[523,709,710],{"class":533}," { defineHandler } ",[523,712,537],{"class":529},[523,714,541],{"class":540},[523,716,544],{"class":533},[523,718,719,721,724,726,729],{"class":525,"line":547},[523,720,530],{"class":529},[523,722,723],{"class":533}," { useRuntimeConfig } ",[523,725,537],{"class":529},[523,727,728],{"class":540}," \"nitro/runtime-config\"",[523,730,544],{"class":533},[523,732,733],{"class":525,"line":553},[523,734,550],{"emptyLinePlaceholder":406},[523,736,737,739,741,744,747,751,754,757],{"class":525,"line":569},[523,738,556],{"class":529},[523,740,559],{"class":529},[523,742,743],{"class":562}," defineHandler",[523,745,746],{"class":533},"((",[523,748,750],{"class":749},"sQHwn","event",[523,752,753],{"class":533},") ",[523,755,756],{"class":529},"=>",[523,758,759],{"class":533}," {\n",[523,761,762,765,768,771,774],{"class":525,"line":581},[523,763,764],{"class":529},"  const",[523,766,767],{"class":625}," runtimeConfig",[523,769,770],{"class":529}," =",[523,772,773],{"class":562}," useRuntimeConfig",[523,775,776],{"class":533},"();\n",[523,778,779,782],{"class":525,"line":587},[523,780,781],{"class":529},"  return",[523,783,784],{"class":533}," { runtimeConfig };\n",[523,786,787],{"class":525,"line":598},[523,788,607],{"class":533},[514,790,793],{"className":610,"code":791,"filename":792,"language":613,"meta":5,"style":5},"{\n  \"extends\": \"nitro/tsconfig\"\n}\n","tsconfig.json",[520,794,795,799,809],{"__ignoreMap":5},[523,796,797],{"class":525,"line":526},[523,798,620],{"class":533},[523,800,801,804,806],{"class":525,"line":547},[523,802,803],{"class":625},"  \"extends\"",[523,805,629],{"class":533},[523,807,808],{"class":540},"\"nitro/tsconfig\"\n",[523,810,811],{"class":525,"line":553},[523,812,697],{"class":533},[514,814,817],{"className":516,"code":815,"filename":816,"language":518,"meta":5,"style":5},"import { defineConfig } from \"vite\";\nimport { nitro } from \"nitro/vite\";\n\nexport default defineConfig({ plugins: [nitro()] });\n","vite.config.ts",[520,818,819,832,846,850],{"__ignoreMap":5},[523,820,821,823,825,827,830],{"class":525,"line":526},[523,822,530],{"class":529},[523,824,534],{"class":533},[523,826,537],{"class":529},[523,828,829],{"class":540}," \"vite\"",[523,831,544],{"class":533},[523,833,834,836,839,841,844],{"class":525,"line":547},[523,835,530],{"class":529},[523,837,838],{"class":533}," { nitro } ",[523,840,537],{"class":529},[523,842,843],{"class":540}," \"nitro/vite\"",[523,845,544],{"class":533},[523,847,848],{"class":525,"line":553},[523,849,550],{"emptyLinePlaceholder":406},[523,851,852,854,856,858,861,864],{"class":525,"line":569},[523,853,556],{"class":529},[523,855,559],{"class":529},[523,857,563],{"class":562},[523,859,860],{"class":533},"({ plugins: [",[523,862,863],{"class":562},"nitro",[523,865,866],{"class":533},"()] });\n",[868,869,870],"p",{},"Runtime config lets you define configuration values that can be overridden by environment variables at runtime.",[872,873,875],"h2",{"id":874},"define-config-schema","Define Config Schema",[868,877,878,879,881],{},"Declare your runtime config with default values in ",[520,880,512],{},":",[514,883,884],{"className":516,"code":517,"filename":512,"language":518,"meta":5,"style":5},[520,885,886,898,902,912,920,924,932,936],{"__ignoreMap":5},[523,887,888,890,892,894,896],{"class":525,"line":526},[523,889,530],{"class":529},[523,891,534],{"class":533},[523,893,537],{"class":529},[523,895,541],{"class":540},[523,897,544],{"class":533},[523,899,900],{"class":525,"line":547},[523,901,550],{"emptyLinePlaceholder":406},[523,903,904,906,908,910],{"class":525,"line":553},[523,905,556],{"class":529},[523,907,559],{"class":529},[523,909,563],{"class":562},[523,911,566],{"class":533},[523,913,914,916,918],{"class":525,"line":569},[523,915,572],{"class":533},[523,917,575],{"class":540},[523,919,578],{"class":533},[523,921,922],{"class":525,"line":581},[523,923,584],{"class":533},[523,925,926,928,930],{"class":525,"line":587},[523,927,590],{"class":533},[523,929,593],{"class":540},[523,931,578],{"class":533},[523,933,934],{"class":525,"line":598},[523,935,601],{"class":533},[523,937,938],{"class":525,"line":604},[523,939,607],{"class":533},[872,941,943],{"id":942},"access-at-runtime","Access at Runtime",[868,945,946,947,950],{},"Use ",[520,948,949],{},"useRuntimeConfig"," to access configuration values in your handlers:",[514,952,953],{"className":516,"code":700,"filename":701,"language":518,"meta":5,"style":5},[520,954,955,967,979,983,1001,1013,1019],{"__ignoreMap":5},[523,956,957,959,961,963,965],{"class":525,"line":526},[523,958,530],{"class":529},[523,960,710],{"class":533},[523,962,537],{"class":529},[523,964,541],{"class":540},[523,966,544],{"class":533},[523,968,969,971,973,975,977],{"class":525,"line":547},[523,970,530],{"class":529},[523,972,723],{"class":533},[523,974,537],{"class":529},[523,976,728],{"class":540},[523,978,544],{"class":533},[523,980,981],{"class":525,"line":553},[523,982,550],{"emptyLinePlaceholder":406},[523,984,985,987,989,991,993,995,997,999],{"class":525,"line":569},[523,986,556],{"class":529},[523,988,559],{"class":529},[523,990,743],{"class":562},[523,992,746],{"class":533},[523,994,750],{"class":749},[523,996,753],{"class":533},[523,998,756],{"class":529},[523,1000,759],{"class":533},[523,1002,1003,1005,1007,1009,1011],{"class":525,"line":581},[523,1004,764],{"class":529},[523,1006,767],{"class":625},[523,1008,770],{"class":529},[523,1010,773],{"class":562},[523,1012,776],{"class":533},[523,1014,1015,1017],{"class":525,"line":587},[523,1016,781],{"class":529},[523,1018,784],{"class":533},[523,1020,1021],{"class":525,"line":598},[523,1022,607],{"class":533},[872,1024,1026],{"id":1025},"environment-variables","Environment Variables",[868,1028,1029,1030,881],{},"Override config values via environment variables prefixed with ",[520,1031,1032],{},"NITRO_",[514,1034,1039],{"className":1035,"code":1036,"filename":1037,"language":1038,"meta":5,"style":5},"language-sh shiki shiki-themes github-light github-dark github-dark","# NEVER COMMIT SENSITIVE DATA. THIS IS ONLY FOR DEMO PURPOSES.\nNITRO_API_KEY=secret-api-key\n",".env","sh",[520,1040,1041,1047],{"__ignoreMap":5},[523,1042,1043],{"class":525,"line":526},[523,1044,1046],{"class":1045},"sCsY4","# NEVER COMMIT SENSITIVE DATA. THIS IS ONLY FOR DEMO PURPOSES.\n",[523,1048,1049,1052,1055],{"class":525,"line":547},[523,1050,1051],{"class":533},"NITRO_API_KEY",[523,1053,1054],{"class":529},"=",[523,1056,1057],{"class":540},"secret-api-key\n",[872,1059,1061],{"id":1060},"learn-more","Learn More",[1063,1064,1065],"ul",{},[1066,1067,1068],"li",{},[1069,1070,33],"a",{"href":34},[1072,1073,1074],"style",{},"html pre.shiki code .so5gQ, html code.shiki .so5gQ{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#F97583}html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html pre.shiki code .sfrk1, html code.shiki .sfrk1{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}html pre.shiki code .shcOC, html code.shiki .shcOC{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#B392F0}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .suiK_, html code.shiki .suiK_{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#79B8FF}html pre.shiki code .sQHwn, html code.shiki .sQHwn{--shiki-light:#E36209;--shiki-default:#FFAB70;--shiki-dark:#FFAB70}html pre.shiki code .sCsY4, html code.shiki .sCsY4{--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#6A737D}",{"title":5,"searchDepth":547,"depth":547,"links":1076},[1077,1078,1079,1080],{"id":874,"depth":547,"text":875},{"id":942,"depth":547,"text":943},{"id":1025,"depth":547,"text":1026},{"id":1060,"depth":547,"text":1061},"md",{"automd":406,"category":411,"icon":319},{"icon":319},{"title":316,"description":457},"u2jEo55EYGfrjJ5SH4eFMxNuD5SF3IaDxl5_Vl0BQ9c",[1087,1088],{"title":311,"path":312,"stem":313,"description":454,"icon":314,"children":-1},{"title":321,"path":322,"stem":323,"description":460,"icon":324,"children":-1},1776367071798]