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
- Locked out from my own account
I've create an appwrite account using onedevcontext@gmail.com and tried upgrading to Pro multiple times but failed as the Credit Card would not be accepted, I t...
- Not able to upgrade to Appwrite Pro
This is my project ID - 69f5bee60036512d2d52 I've tried multiple credit cards now and I still face the same error "Your card was declined". But I've used the s...
- Storage System
Hey guys, quick question regarding massive storage scaling. I’m working in digital forensics and I’m constantly dealing with huge binary disk images, usually be...