https://appwrite.io/docs/tutorials/nuxt/step-3#environment-variables
In the guide, the environment variables are imported simply as
const url: string = import.meta.env.VITE_APPWRITE_ENDPOINT;
const project: string = import.meta.env.VITE_APPWRITE_PROJECT;
But if I build the app, then these environment variables are just included in the build as raw strings instead of imports.
How do I protect these variables? What variables are sensitive, and what are not?
Environment Variables in Nuxt - How to Handle?
Project id and appwrite endpoint are not ment to be hidden afaik , as long as you set up the permissions properly on your appwrite console
Recommended threads
- Hi Appwrite Support Team,
Hi Appwrite Support Team, Project ID: 69a69f6f00113ed0e8e4 Region: San Francisco (sfo.cloud.appwrite.io) Issue: My Appwrite Functions are not executing proper...
- Project Inactivity Clarification
I'm on appwrite free plan with my account (om.thakkar@ivcventure.com). Even though throughout the week we use the project atleast once to upload dynamic content...
- Retrieving Data From Backups
Hiya, I have a user requesting for data they accidentally deleted. I don't have document history built into my app. Is there a way to extract data from the auto...