Heb

Results 257 comments of Heb

> Is there a workaround for this? Not exactly a workaround, but iirc this bug doesn't affect the `cloudflare_pages` preset.

> With CF worker format, we have another limitation that ENV is only accessible _within_ a request. For this we might introduce `useRuntimeConfig?(event)` (also subsequently `event.context.env`) I'm hitting this issue...

There's a h3 feature coming that will enable this https://github.com/unjs/h3/issues/424

> When will this be fixed, any ideas? @pi0 There's a PR with a fix #1318

> > With CF worker format, we have another limitation that ENV is only accessible _within_ a request. For this we might introduce `useRuntimeConfig?(event)` (also subsequently `event.context.env`) > > I'm...

@beaudryj this will work, see working example here : https://github.com/Hebilicious/nuxt-authjs-google

> I had that, but it does not seem to work. I want to note that i do my preset build in my CI and ship my dist directory to...

> ```ts > // In development > export default defineEventHandler((event) => { > useRuntimeConfig(event).helloThere //general > useRuntimeConfig(event).secret //undefined > // Module syntax (cloudflare_module, cloudflare_pages) > event.context.cloudflare.env.NITRO_HELLO_THERE //general > event.context.cloudflare.env.SECRET //secret...

> I have them set in the dashboard. Build my projects with terraform and they are setup on the project I am deploying to. And I am saying that process.env...