-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(cloudflare): add environment variables instructions #1547
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1547 +/- ##
=======================================
Coverage 76.47% 76.47%
=======================================
Files 73 73
Lines 7591 7591
Branches 757 757
=======================================
Hits 5805 5805
Misses 1785 1785
Partials 1 1 |
b61b64d
to
96b9f89
Compare
@pi0 When you get the time to look at this, could you also clarify why/how we can use |
export default lazyEventHandler(() => {
// Access here
return eventHandler(() => {
})
}) We can mention it in both routing and config sections. |
π Linked issue
Resolves #272
Extracted from #1318
β Type of change
π Description
Document the usage of environment variables and
useRuntimeConfig
in cloudflare presets.useRuntimeConfig(event)
only works with unenv.π Checklist