Skip to content

🎥 Make videos programmatically with React

Update config.mdx

Jonny Burger23c597673575
diff --git a/packages/docs/docs/config.mdx b/packages/docs/docs/config.mdx
index 7be49fba7d..f5ea774e87 100644
--- a/packages/docs/docs/config.mdx
+++ b/packages/docs/docs/config.mdx
@@ -134,6 +134,14 @@ The JPEG quality of each frame. Must be a number between 0 and 100. Will not wor
Config.Rendering.setQuality(90);
```
+### setDotEnvLocation()
+
+Set a custom location for a [`.env`](https://www.npmjs.com/package/dotenv) file. You can specify an absolute path or a relative path in which case it gets resolved based on the current working directory.
+
+```tsx
+Config.Rendering.setDotEnvLocation('.my-env')
+```
+
## Output
### setOverwriteOutput()