next.js worker not finding environment variables
hi!
i have a cloudflare worker that i'm trying to deploy and have environment variables that i'm using.
i've added the environment variables within the env variables within the worker but the build isn't able to find it (i'm using https://github.com/t3-oss/t3-env to manage my env variable validations). would anyone know how i can further debug this issue? if i have a local
.env
file, the build works smoothly and as such believed the worker build environment would read from the environment variables
for more reference, this is how my env.ts
file looks like :
i'm using all the variables on server side and nothing on the client. would love to provide more information - appreciate the help!!GitHub
GitHub - t3-oss/t3-env
Contribute to t3-oss/t3-env development by creating an account on GitHub.
0 Replies