@remotion/studio 4.0.409 → 4.0.410
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/write-static-file.js +1 -1
- package/dist/components/InstallPackage.js +27 -18
- package/dist/components/RenderButton.js +29 -41
- package/dist/esm/{chunk-yhf0gvmn.js → chunk-nqxpz7r0.js} +177 -160
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internals.mjs +177 -160
- package/dist/esm/previewEntry.mjs +179 -162
- package/dist/esm/renderEntry.mjs +1 -1
- package/package.json +9 -9
package/dist/esm/index.mjs
CHANGED
|
@@ -580,7 +580,7 @@ var writeStaticFile = async ({
|
|
|
580
580
|
if (window.remotion_isReadOnlyStudio) {
|
|
581
581
|
throw new Error("writeStaticFile() is not available in read-only Studio");
|
|
582
582
|
}
|
|
583
|
-
const url = new URL(
|
|
583
|
+
const url = new URL(`${window.remotion_staticBase}/api/add-asset`, window.location.origin);
|
|
584
584
|
if (filePath.includes("\\")) {
|
|
585
585
|
return Promise.reject(new Error("File path cannot contain backslashes"));
|
|
586
586
|
}
|