Replies: 1 comment
-
When the app is published as a standalone static website environment variables cannot be used anymore. You have to be especially careful with secrets as the entire app is delivered to a user's browser and run there. As Flet app becomes a typical SPA I guess the regular approach would work there: doing all the secret work in backend API server with cookie- or JWT-based authentication. You can use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
My app uses environment variables to load a number of items, from database location to secrets. When I make a standalone app what happens to the env vars? Are they dropped, baked into the code sent to the browser?
Any insight would be helpful.
Code sample
No response
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions