- Description:
This key toggles whether CloudCannon will use relative paths instead of absolute paths for uploaded files.
Setting this key to
truewill make CloudCannon use relative paths for uploaded files, which are relative to the file being edited rather than the repository root.- Appears in:
└── paths └── uploads_use_relative_path- Type:
boolean- Default value:
false- Examples:
In this example, we have configured uploads to use relative paths for files uploaded in the Content Editor.
Copied to clipboard_editables: content: paths: uploads_use_relative_path: true{ "_editables": { "content": { "paths": { "uploads_use_relative_path": true } } } }