Skip to content

🎥 Make videos programmatically with React

fix deploySite() example

Jonny Burger19307aea1b49
diff --git a/packages/docs/docs/lambda/deploysite.md b/packages/docs/docs/lambda/deploysite.md
index ca6efdee09..b88b0888a6 100644
--- a/packages/docs/docs/lambda/deploysite.md
+++ b/packages/docs/docs/lambda/deploysite.md
@@ -16,9 +16,10 @@ Before calling this function, you should create a bucket, see [`getOrCreateBucke
// @module: esnext
// @target: es2017
import { deploySite } from "@remotion/lambda";
+import path from "path";
const { serveUrl } = await deploySite({
- entryPoint: "/Users/jonnyburger/my-remotion-video/src/index.tsx",
+ entryPoint: path.resolve(process.cwd(), "src/index.tsx"),
bucketName: "remotionlambda-c7fsl3d",
region: "us-east-1",
options: {