Skip to content
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

Runtime environment variable not pass to Client #25

Open
luaz opened this issue Feb 16, 2020 · 1 comment
Open

Runtime environment variable not pass to Client #25

luaz opened this issue Feb 16, 2020 · 1 comment
Labels
more detail needed Please provide an example or recreation

Comments

@luaz
Copy link

luaz commented Feb 16, 2020

For build-time environment variables, it works perfectly with the variable accessible in both client and server (universal render mode).

For runtime environment variables, it is only accessible on the server but not on the client. Is this the expected behavior or there is a bug?

@samtgarson
Copy link
Owner

I'm not sure I understand your question, as this library is specifically to enable runtime environment variables. Variables are available client-side unless the secret option is enabled.

Could you post an example or make a recreation in codesanbdox of your exact issue?

@samtgarson samtgarson added the more detail needed Please provide an example or recreation label Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more detail needed Please provide an example or recreation
Projects
None yet
Development

No branches or pull requests

2 participants