Local Provider
The local provider leverages the Java Non Block io package.
Configuration
Example
moduleSettings = {
"cbfs": {
// The default disk with a reserved name of 'default'
"defaultDisk" : "myStorage",
// Register the disks on the system
"disks" : {
// Your default application storage
"myStorage" : {
"provider" : "Local",
"properties" : {
"path" : "#controller.getAppRootPath()#.myStorage",
"diskUrl" : function(){
return variables.controller
.getRequestService()
.getContext()
.getHtmlBaseUrl()
& "storage/.mystorage/";
}
}
}
}
}
};Properties
Property
Type
Default
Description
Last updated
Was this helpful?