Skip to content

🎥 Make videos programmatically with React

Remotion Studio: Fix "null" being displayed on studios that go not have a GitHub repo connected

Jonny Burgerf0a59c64ad83
diff --git a/packages/bundler/src/index-html.ts b/packages/bundler/src/index-html.ts
index 2a80d5398d..bc2daa802d 100644
--- a/packages/bundler/src/index-html.ts
+++ b/packages/bundler/src/index-html.ts
@@ -95,7 +95,7 @@ export const indexHtml = ({
? `<script>window.remotion_gitSource = ${JSON.stringify(
gitSource,
)};</script>`
- : null
+ : ''
}
<script>window.remotion_staticFiles = ${JSON.stringify(publicFiles)}</script>
<script>window.remotion_publicFolderExists = ${