Skip to main content

Public pathv4.0.127

The path of the URL where the bundle is going to be hosted. By default it is ./, making the bundle relocatable. Set an absolute path such as /sites/my-site/ to host the bundle at a fixed location.

CLI flag​

--public-path <value>

The following CLI commands accept this option:

APIs that have this option​

The following APIs accept this option:

Config file​

remotion.config.ts
Config.setPublicPath('/sites/my-site/');

See also​