Open
Description
Hey ya'll. This library was working perfectly before - but for some reason now it is not loading my .env
file. It is literally interpreting the env("DATABASE_URL")
. I get the error:
error: Error validating datasource `db`: the URL must start with the protocol `postgresql://` or `postgres://`.
My env vars are correct and verified and my prisma schema is also correct and verified.
Edit: When i remove the surrounding "" from my env var, it works. Seems the "" in an env var mess it up.
Ex:
.env
Doesn't work
DATABASE_URL="https://example.com:8080"
.env
Does work
DATABASE_URL=https://example.com:8080
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Triage