Unverified Commit bbb730e5 authored by Rich Haines's avatar Rich Haines Committed by GitHub

[Docs]: Fix CLI link to server actions size limit docs (#58174)



This PR fixes the terminal link to server actions size limitations for body size limit. The link is wrong and sending people to a 404
parent fd7ea115
...@@ -490,7 +490,7 @@ export async function handleAction({ ...@@ -490,7 +490,7 @@ export async function handleAction({
throw new ApiError( throw new ApiError(
413, 413,
`Body exceeded ${readableLimit} limit. `Body exceeded ${readableLimit} limit.
To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/server-actions#size-limitation` To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/functions/server-actions#size-limitation`
) )
} }
......
...@@ -503,7 +503,7 @@ function assignDefaults( ...@@ -503,7 +503,7 @@ function assignDefaults(
) )
if (isNaN(value) || value < 1) { if (isNaN(value) || value < 1) {
throw new Error( throw new Error(
'Server Actions Size Limit must be a valid number or filesize format lager than 1MB: https://nextjs.org/docs/app/api-reference/server-actions#size-limitation' 'Server Actions Size Limit must be a valid number or filesize format lager than 1MB: https://nextjs.org/docs/app/api-reference/functions/server-actions#size-limitation'
) )
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment