Skip to content

🎥 Make videos programmatically with React

Fix setRendererPort config example function name

Anıl Şenay73078c88b5ce
diff --git a/packages/docs/docs/config.mdx b/packages/docs/docs/config.mdx
index b29da065bc..e86fd74b7e 100644
--- a/packages/docs/docs/config.mdx
+++ b/packages/docs/docs/config.mdx
@@ -70,7 +70,7 @@ Set the port to be used to host the Webpack bundle.
```ts twoslash title="remotion.config.ts"
import {Config} from '@remotion/cli/config';
// ---cut---
-Config.setStudioPort(3004);
+Config.setRendererPort(3004);
```
The [command line flag](/docs/cli/render#--port) `--port` will take precedence over this option.