[READ-ONLY] Mirror of https://github.com/danielroe/roe.dev. This is the code and content for my personal website, built in Nuxt. roe.dev
0

Configure Feed

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

fix: clean up runtime config

+2 -1
+1 -1
modules/cloudflare-vars.ts
··· 17 17 if (typeof value === 'object' && value !== null) { 18 18 walkConfig(value, `${prefix}${key}.`) 19 19 } 20 - else if (typeof value !== 'object') { 20 + else if (typeof value !== 'object' && value) { 21 21 const varKey = kebabCase(`${prefix}${key}`).toUpperCase().replace(/-/g, '_') 22 22 vars[varKey] = value 23 23 }
+1
modules/security.ts
··· 20 20 nitro.options.handlers = nitro.options.handlers.filter(handler => !handler.handler.includes('node_modules/nuxt-security/')) 21 21 // remove nuxt-security's rate limiter storage (requires lru-cache) 22 22 delete nitro.options.storage['#rate-limiter-storage'] 23 + delete (nitro.options.runtimeConfig as any).security 23 24 }) 24 25 }, 25 26 })