[READ-ONLY] Mirror of https://github.com/danielroe/nitro-vite-repros.
0

Configure Feed

Select the types of activity you want to include in your feed.

nitro-vite-repros / src / entry-server.ts
378 B 11 lines
1import { useRuntimeConfig } from 'nitro/runtime-config' 2 3export default { 4 async fetch (_request: Request): Promise<Response> { 5 const config = useRuntimeConfig() 6 return new Response( 7 `<!doctype html><meta charset="utf-8"><pre>runtimeConfig=${JSON.stringify(config, null, 2)}</pre>`, 8 { headers: { 'content-type': 'text/html; charset=utf-8' } }, 9 ) 10 }, 11}