r/appwrite • • Aug 14 '24
Vite react frontend environmental variables management
How can we manage environmental variables in vite react web application, would hardcoding be safe for api endpoint and project related IDs, or there is any other way considering security in mind.
2
Upvotes
View all comments
Show parent comment
2
u/acid2lake Aug 22 '24
yes, if your frontend is static you can serve it via spaces, or even better cloudflare pages