ENV variable parsed with quotes "\""

I initialized t3-app with t3-env package to validate env variable on a Windows machine, the validation fails as the env variable is parsed as z.string().url()

the .url() validation fails as the variable is parsed as "url" with the quotes,

initially env variables was set as

DATABASE_URL="url"

changed it to:
DATABASE_URL=url


didn't work

I changed it to use
dotenv
that works nicely, so what is the problem with env-validation ??
Was this page helpful?