Tony
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Tony on 1/17/2023 in #questions
Image upload using prisma + trps
I did look at it, I was looking for an alternative like using cloudinary or sth
coz I once used aws on a diff service and it maxed out my card :(. so I never been a fan ever since
6 replies
TTCTheo's Typesafe Cult
•Created by Tony on 12/28/2022 in #questions
AuthSession in T3 boiler plate not working when fetching data in SSG with tRPC
Ooh shoot
I guess that will fix the error
16 replies
TTCTheo's Typesafe Cult
•Created by Tony on 12/28/2022 in #questions
AuthSession in T3 boiler plate not working when fetching data in SSG with tRPC
Yeah I have checked that and its included on the t3 boiler plate. But the error is occuring on this line
return await unstable_getServerSession(ctx.req, ctx.res, authOptions);
which comes from the file in server/common/get-server-auth-session
.
What am i missing16 replies
TTCTheo's Typesafe Cult
•Created by Tony on 12/28/2022 in #questions
AuthSession in T3 boiler plate not working when fetching data in SSG with tRPC
aight let me look on it
16 replies
TTCTheo's Typesafe Cult
•Created by Tony on 12/28/2022 in #questions
AuthSession in T3 boiler plate not working when fetching data in SSG with tRPC
That's what kept me wondering, but the error occurs once I fetch data in getStaticProps
Here is the code I use
16 replies
TTCTheo's Typesafe Cult
•Created by Tony on 12/1/2022 in #questions
Deploying the t3-App on Vercel
yeah that worked Thanks mate
15 replies
TTCTheo's Typesafe Cult
•Created by Tony on 12/1/2022 in #questions
Deploying the t3-App on Vercel
strange enough the env variables are correct, I even added the planetscale integration on vercel so that it imports them correctly
15 replies
TTCTheo's Typesafe Cult
•Created by Tony on 12/1/2022 in #questions
Deploying the t3-App on Vercel
here it is
15 replies
TTCTheo's Typesafe Cult
•Created by Tony on 12/1/2022 in #questions
Deploying the t3-App on Vercel
15 replies
TTCTheo's Typesafe Cult
•Created by Tony on 12/1/2022 in #questions
Deploying the t3-App on Vercel
If you mean the file where I export prisma client, or you meant the schema ?
15 replies
TTCTheo's Typesafe Cult
•Created by Tony on 12/1/2022 in #questions
Deploying the t3-App on Vercel
15 replies