zamzam
zamzam
TTCTheo's Typesafe Cult
Created by zamzam on 11/4/2023 in #questions
Increase Vercel Maximum Duration to 3 minutes
ive managed to fix, i just upgraded to nextjs 14 and in my trpc file i added export const config = { maxDuration: 180, };
12 replies
TTCTheo's Typesafe Cult
Created by zamzam on 11/4/2023 in #questions
Increase Vercel Maximum Duration to 3 minutes
no luck for either one 😦
12 replies
TTCTheo's Typesafe Cult
Created by zamzam on 11/4/2023 in #questions
Increase Vercel Maximum Duration to 3 minutes
building the project in vercel with this "pages/api/trpc/[trpc].ts" if that does not work then ill try api/trpc/*.ts
12 replies
TTCTheo's Typesafe Cult
Created by zamzam on 11/4/2023 in #questions
Increase Vercel Maximum Duration to 3 minutes
woops vercel does not like that Error: The pattern "api/trpc/[trpc].ts" defined in functions doesn't match any Serverless Functions.
12 replies
TTCTheo's Typesafe Cult
Created by zamzam on 11/4/2023 in #questions
Increase Vercel Maximum Duration to 3 minutes
Given that I'm utilising Next.js version 13.4, I'm using the vercel.json approach for this configuration. I've structured the file like this: { "functions": { "api/trpc/[trpc].ts": { "maxDuration": 180 } } } is this correct for trpc ?
12 replies
TTCTheo's Typesafe Cult
Created by zamzam on 11/4/2023 in #questions
Increase Vercel Maximum Duration to 3 minutes
yeahhh
12 replies