Skip to content

[QUESTION]: Pass ENV variables from server to client without replacing in the code #1487

Discussion options

You must be logged in to vote

If your en var is expected to be determined/changed dynamically at runtime, then you'll indeed have to use pageContext and passToClient. As described in the Data Fetching guide.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by simplecommerce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants