Configuration
// config/ColdBox.bx
class {
function configure() {
moduleSettings = {
"cbwire": {
// Asset Management
"autoInjectAssets": true,
"moduleRootURL": "/modules/cbwire",
// Component Configuration
"wiresLocation": "wires",
"trimStringValues": false,
"throwOnMissingSetterMethod": false,
// Request Handling
"updateEndpoint": "/cbwire/update",
"maxUploadSeconds": 300, // 5 minutes
"uploadsStoragePath": "", // Custom temporary storage path for file uploads
"storagePath": "", // Custom storage path for component compilation
// UI Features
"showProgressBar": true,
"progressBarColor": "#2299dd",
// Security
"csrfEnabled": true,
"csrfStorage": "SessionCSRFStorage@cbwire",
"checksumValidation": true
}
};
}
}Asset Management
autoInjectAssets
moduleRootURL
Component Configuration
wiresLocation
trimStringValues
throwOnMissingSetterMethod
Request Handling
updateEndpoint
maxUploadSeconds
uploadsStoragePath
storagePath
UI Features
showProgressBar
progressBarColor
Security Configuration
csrfEnabled
csrfStorage
checksumValidation
Last updated
Was this helpful?