How do I set api limits for server side actions?
Unanswered
Crested Myna posted this in #help-forum
Crested MynaOP
I have a page setup at eg:
and inside of
I'd like to remove the request size limit for that function - which from https://nextjs.org/docs/messages/api-routes-response-size-limit
means I should set up
But .... where do I put that config? inside of the
app/do_something/[uuid]/page.tsxand inside of
page.tsx I've implemented a serverside function (ie. with 'use server' turned on)I'd like to remove the request size limit for that function - which from https://nextjs.org/docs/messages/api-routes-response-size-limit
means I should set up
export const config = {
api: {
responseLimit: false,
},
}But .... where do I put that config? inside of the
page.tsx file? Elsewhere in my project structure?