We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
getEnv
https://github.com/himself65/waku-pokemon
I created a demo to connect backend database. And the 500 error on prod
https://waku-pokemon-p86nl519u-alex-yang.vercel.app/
I read the output file
function getEnv(key) { return globalThis.__WAKU_PRIVATE_ENV__[key]; }
__WAKU_PRIVATE_ENV__ is not defined in the output files
__WAKU_PRIVATE_ENV__
The text was updated successfully, but these errors were encountered:
yeah, reason is I used getEnv in the global context, but waku will set env map after you connect it
Sorry, something went wrong.
See workaround: himself65/waku-pokemon#1
My hope is #395 fixes this. Can you please try it?
dai-shi
Successfully merging a pull request may close this issue.
https://github.com/himself65/waku-pokemon
I created a demo to connect backend database. And the 500 error on prod
https://waku-pokemon-p86nl519u-alex-yang.vercel.app/
I read the output file
__WAKU_PRIVATE_ENV__
is not defined in the output filesThe text was updated successfully, but these errors were encountered: