kshitijmohan15
kshitijmohan15
TTCTheo's Typesafe Cult
Created by kshitijmohan15 on 6/2/2023 in #questions
the URL must start with the protocol `mongo`
What do you mean by Vercel side?
13 replies
TTCTheo's Typesafe Cult
Created by kshitijmohan15 on 6/2/2023 in #questions
the URL must start with the protocol `mongo`
But if I change both to DATABASE_URL, it doesn't
13 replies
TTCTheo's Typesafe Cult
Created by kshitijmohan15 on 6/2/2023 in #questions
the URL must start with the protocol `mongo`
What I meant was, if I change both the .env file variable and the prisma chema variable name to DATABASE_URI, it works
13 replies
TTCTheo's Typesafe Cult
Created by kshitijmohan15 on 6/2/2023 in #questions
the URL must start with the protocol `mongo`
Okay, if I use DATABASE_URI instead of DATABASE_URL, then it works too, the problem seems to only be when using DATABASE_URL
13 replies
TTCTheo's Typesafe Cult
Created by kshitijmohan15 on 6/2/2023 in #questions
the URL must start with the protocol `mongo`
When I put the URI directly in the schema instead of env("DATABASE_URL"), then it works, otherwise it doesn't
13 replies
TTCTheo's Typesafe Cult
Created by kshitijmohan15 on 6/2/2023 in #questions
the URL must start with the protocol `mongo`
mongodb+srv:/
13 replies
TTCTheo's Typesafe Cult
Created by shikishikichangchang on 11/16/2022 in #questions
CRUD tutorial
6 replies