I'm truly lost about how to use environment variables in production with Astro. All NON-Public env vars are always undefined.
i've tried this 3 approaches:
`ts
const {
STRAPI_URL,
} = loadEnv(process.env.NODE_ENV, process.cwd(), "");
console.log({
STRAPI_URL,
})
console.log(import.meta.env.STRAPI_URL)
console.log(process.env.STRAPI_URL)`
I've read the documentation but i still don't understand what i'm doing wrong.
thanks !