Don't do static site generation for specific page
Answered
Dwarf Crocodile posted this in #help-forum
Dwarf CrocodileOP
I have a page that is run through ssg but it needs a database connection through prisma but isn't available during build in my pipeline. Is it possible to, because of this, stop ssg for this page or somehow stop the prisma db check?
6 Replies
it should be available I believe
to connect prisma in pipeline
Dwarf CrocodileOP
my database is in an okd cluster and my pipeline where the build happens through docker is on gitlab so i can't really connect the two
also the pages are dynamic in nature so i would rather just disable ssg
export const revalidate = 0Answer
Dwarf CrocodileOP
This worked, thanks