🎥 Make videos programmatically with React
also HTTP
Jonny Burger6b8902fb9e70
diff --git a/packages/lambda/src/cli/commands/render/render.ts b/packages/lambda/src/cli/commands/render/render.tsindex d90cbc7c8f..ed815405d6 100644--- a/packages/lambda/src/cli/commands/render/render.ts+++ b/packages/lambda/src/cli/commands/render/render.ts@@ -77,7 +77,7 @@ export const renderCommand = async (args: string[], remotionRoot: string) => {validateServeUrl(serveUrl);- if (!serveUrl.startsWith('https://')) {+ if (!serveUrl.startsWith('https://') && !serveUrl.startsWith('http://')) {throw Error('Passing the shorthand serve URL without composition name is currently not supported.\n Make sure to pass a composition name after the shorthand serve URL or pass the complete serveURL without composition name to get to choose between all compositions.');diff --git a/packages/lambda/src/cli/commands/still.ts b/packages/lambda/src/cli/commands/still.tsindex 92618824b0..55c44e1a63 100644--- a/packages/lambda/src/cli/commands/still.ts+++ b/packages/lambda/src/cli/commands/still.ts@@ -61,7 +61,7 @@ export const stillCommand = async (args: string[], remotionRoot: string) => {validateServeUrl(serveUrl);- if (!serveUrl.startsWith('https://')) {+ if (!serveUrl.startsWith('https://') && !serveUrl.startsWith('http://')) {throw Error('Passing the shorthand serve URL without composition name is currently not supported.\n Make sure to pass a composition name after the shorthand serve URL or pass the complete serveURL without composition name to get to choose between all compositions.');