-
-
Notifications
You must be signed in to change notification settings - Fork 546
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
env method doesn't work on Cloudflare Pages #3158
Comments
Hi @imadoki This may be a |
Thanks for the reply. I use |
The problem is that the value returned from |
I created a minimal project here. I think I can reproduce the error with the following steps:
This problem is happening when deploying on Cloudflare Pages, not in the local development environment. |
I can confirm that using Thanks all for the lighting fast response! |
Thank you for confirming it. I'll close this issue. |
What version of Hono are you using?
4.5.0
What runtime/platform is your app running on?
Cloudflare Pages
What steps can reproduce the bug?
vite.config.ts
What is the expected behavior?
Messages set by
wrangler pages secret put MESSAGE
are displayed.What do you see instead?
MESSAGES is undefined
Additional information
The log returns the following output.
The text was updated successfully, but these errors were encountered: