This key toggles whether CloudCannon will use relative paths instead of absolute paths for uploaded files.
Setting this key to true will 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_pathType#
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
}
}
}
}