π₯ Make videos programmatically with React
`docs`: Link @remotion/lambda and serveUrl in upgrading guide
JonnyBurger44026ded4bee
diff --git a/packages/docs/docs/lambda/upgrading.mdx b/packages/docs/docs/lambda/upgrading.mdxindex d9017e5715..d170e11cb1 100644--- a/packages/docs/docs/lambda/upgrading.mdx+++ b/packages/docs/docs/lambda/upgrading.mdx@@ -9,7 +9,7 @@ import {Prerelease} from '../../components/PrereleaseVersion';## 1. Upgrade all Remotion packages-Upgrade all packages to the newest version (`@remotion/lambda`, but also `remotion`, `@remotion/cli` etc.)+Upgrade all packages to the newest version ([`@remotion/lambda`](/docs/lambda), but also `remotion`, `@remotion/cli` etc.)```shnpx remotion upgrade@@ -43,7 +43,7 @@ The URL will stay the same but older functions may not be able to render the updIf you don't pass [`--site-name`](/docs/lambda/cli/sites/create#--site-name), a new site URL will be generated.You'll need to update the [`serveUrl`](/docs/lambda/rendermediaonlambda#serveurl) parameter in your [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda) calls.-It is advised that the function, the site and the `@remotion/lambda` package calling the render are all on the same version.+It is advised that the function, the site and the [`@remotion/lambda`](/docs/lambda) package calling the render are all on the same version.If the site is on a different version than the function, you may get a version mismatch warning β or if there was a protocol change, renders may fail.## 4. (Optional) Remove old functions@@ -63,7 +63,7 @@ See [`npx remotion lambda functions rmall`](/docs/lambda/cli/functions/rmall).If you already shipped Remotion Lambda to production, you can upgrade without incurring any downtime:1. Deploy the new function and create a new site β old functions and sites remain unaffected.-2. Update the `@remotion/lambda` package version, function name and `serveUrl` in your application.+2. Update the [`@remotion/lambda`](/docs/lambda) package version, function name and [`serveUrl`](/docs/lambda/rendermediaonlambda#serveurl) in your application.3. Ship your application update. From this point, all new renders use the new function + site.4. Once no in-flight renders remain on the old version, remove the old function and site.